You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Fixed
hackney_conn:set_owner/2 works while a streamed request body is being
sent. It returned {error, invalid_state}.
A response body cut short by the server closing the connection is an
error. For a chunked or Content-Length body, body/1 returns {error, {closed, Partial}} with the bytes that arrived, and stream_body/1 and async responses end with {error, closed}. They
reported a short body as complete. A body with neither still ends when the
connection closes.
An HTTPS request through a CONNECT proxy reached over TLS
({proxy_transport, ssl}) works. The target TLS handshake ran over the
proxy TLS socket as if it were plain TCP and failed.
A pooled connection from hackney:connect/* stays with its caller between
requests, and hackney:close/1 checks it back into the pool. It went back
to the pool after every response while the caller still used it, so the
pool could stop it in the middle of the next request ({error, closed})
or lend it to another process.