Commit 81dc241
tls: prevent multiple connection errors
onConnectEnd(), which is called by TLSSocket, has a guard to
prevent being called multiple times, but it does not prevent the
OpenSSL error handler from being called, leading to multiple
error events. This commit adds that piece of missing logic.
PR-URL: #23636
Fixes: #23631
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Wyatt Preul <wpreul@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>1 parent 3ca41dc commit 81dc241Copy full SHA for 81dc241
File tree
Expand file treeCollapse file tree
1 file changed
+3
-3
lines changedOpen diff view settings
Filter options
- lib
Expand file treeCollapse file tree
1 file changed
+3
-3
lines changedOpen diff view settings
Collapse file
+3-3Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
250 | 250 | |
251 | 251 | |
252 | 252 | |
253 | | - |
| 253 | + |
254 | 254 | |
255 | 255 | |
| 256 | + |
| 257 | + |
256 | 258 | |
257 | 259 | |
258 | 260 | |
| ||
267 | 269 | |
268 | 270 | |
269 | 271 | |
270 | | - |
271 | | - |
272 | 272 | |
273 | 273 | |
274 | 274 | |
|
0 commit comments