mirror of
https://github.com/HoneyryderChuck/httpx.git
synced 2025-12-05 00:02:12 -05:00
Implemementing the following fixes: * connections are now marked by IP family of the IO; * connection "mergeable" status dependent on matching origin when conn is already open; * on a connection error, in case it happened while connection, an event is emitted, rather than handling it; if there is another connection for the same origin still doing the handshake, the error is ignored; if not, the error is handled; * a new event, `:tcp_open`, is emitted when the tcp socket conn is established; this allows for concurrent handshakes to be promptly terminated, instead of being dependent on TLS handshake; * connection cloning now happens early, as connection is set for resolving; this way, 2-way callbacks are set as early as possible;