forked fromAsyncHttpClient/async-http-client
- Notifications
You must be signed in to change notification settings - Fork0
Commitd0c2ebe
committed
Don't stall when failing to create SslHandler,closeAsyncHttpClient#1361
Motivation:Creating a SslHandler can crash, for example when there's a typo in theenabled protocols.When this happens, the exception is not propagated.Modification:Catch such Exception and notify the NettyConnectListener.Result:AHC no longer stalled when such exception happens.1 parent1c4ed72 commitd0c2ebe
File tree
1 file changed
+7
-1
lines changed- client/src/main/java/org/asynchttpclient/netty/channel
1 file changed
+7
-1
lines changedLines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
110 | 110 | | |
111 | 111 | | |
112 | 112 | | |
113 | | - | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
114 | 120 | | |
115 | 121 | | |
116 | 122 | | |
| |||
0 commit comments
Comments
(0)