Commit 204ec92
committed
Fix zombie connection when TLS handshake fails in HTTP proxy
When using an HTTP proxy to connect to HTTPS servers, if the TLS handshake
fails after CONNECT succeeds, the connection remains in ACTIVE state and never
gets cleaned up, occupying the connection pool forever.
This fix ensures the connection is properly closed when TLS fails, preventing
Pool timeout issues.1 parent 10a6582 commit 204ec92
1 file changed
+9
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
312 | 312 | | |
313 | 313 | | |
314 | 314 | | |
315 | | - | |
316 | | - | |
317 | | - | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
318 | 324 | | |
319 | 325 | | |
320 | 326 | | |
| |||
0 commit comments