-
- Downloads
Add SslHandshakeTimeoutException and use it for handshake timeouts (#10062)
Motivation: Often it is useful to be able to detect different sorts of SSL errors that cause the handshake to fail. To make this easier we should throw and explicit exception type for handshake timeouts. Modifications: - Add SslHandshakeTimeoutException (which extends SSLHandshakeException) and use it for handshake timeouts - Adjust testcases Result: Easier to detect that handshake failed because of a timeout
Showing
- handler/src/main/java/io/netty/handler/ssl/SslHandler.java 2 additions, 1 deletionhandler/src/main/java/io/netty/handler/ssl/SslHandler.java
- handler/src/main/java/io/netty/handler/ssl/SslHandshakeTimeoutException.java 28 additions, 0 deletions...va/io/netty/handler/ssl/SslHandshakeTimeoutException.java
- handler/src/test/java/io/netty/handler/ssl/SslHandlerTest.java 2 additions, 2 deletions...er/src/test/java/io/netty/handler/ssl/SslHandlerTest.java
Loading
Please register or sign in to comment