Download Latest Version hackney 4.8.5 source code.zip (525.1 kB) Google Add to Preferred Sources
Home / 4.8.2
Name Modified Size InfoDownloads / Week
Parent folder
hackney 4.8.2 source code.tar.gz 2026-09-26 410.7 kB
hackney 4.8.2 source code.zip 2026-09-26 504.8 kB
README.md 2026-09-26 1.0 kB
Totals: 3 Items   916.5 kB 0

Fixed

  • A connection opened without a pool is owned by the process that opened it and closes when that process dies. It was started under hackney_conn_sup and owned by it, so a killed caller left the connection and its socket open until the server closed it (idle_timeout defaults to infinity). Covers request/5 and connect/* with {pool, false}, streamed request bodies, async responses, HTTP proxies, CONNECT and SOCKS5 tunnels, HTTP/2 and HTTP/3, and h2_open/* streams. With stream_to, the stream_to process owns the connection, as before. hackney_conn:set_owner/2 still moves ownership.
  • An HTTP/1.1 connection waiting for a response closes within a second of its owner dying. It was blocked in the socket read and noticed only when the response came, the server closed, or recv_timeout expired.
  • A CONNECT or SOCKS5 tunnel socket belongs to its connection. It stayed with the process that opened it, so after hackney_conn:set_owner/2 it still closed when that process died.
Source: README.md, updated 2026-09-26