Files
Xray-core/transport/internet
patternihaandClaude Fable 5.2 aa570b7825 HTTPUpgrade client: Close the connection when the upgrade fails
When the upgrade request could not be sent, or the server did not answer
with a valid "101 Switching Protocols", the dial returned the error and left
the TCP connection open until the garbage collector closed it.

With "fingerprint": "unsafe", a failed TLS handshake is one of these cases.
Go's TLS does the handshake at the first write, and here the first write is
the upgrade request.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-13 20:23:21 +03:30
..
2022-05-18 15:29:01 +08:00
2020-11-25 19:01:53 +08:00
2020-11-25 19:01:53 +08:00
2024-06-29 14:32:57 -04:00
2024-09-23 11:28:19 -04:00
2020-12-04 09:36:16 +08:00
2022-05-18 15:29:01 +08:00