Download Latest Version hackney 4.0.2 source code.tar.gz (259.1 kB)
Email in envelope

Get an email when there's a new version of hackney

Home / 4.0.2
Name Modified Size InfoDownloads / Week
Parent folder
hackney 4.0.2 source code.tar.gz < 18 hours ago 259.1 kB
hackney 4.0.2 source code.zip < 18 hours ago 322.9 kB
README.md < 18 hours ago 795 Bytes
Totals: 3 Items   582.8 kB 0

Bug-fix release. Drop-in upgrade from 4.0.1, no API changes.

Bug Fixes

  • Fix an intermittent pool crash when a server closes a pooled keep-alive connection during checkout (#850). The checkout now tolerates the set_owner race and falls through to a fresh connection instead of crashing on a bad match, and an async ownership handoff to an already-closed pooled connection stops it promptly so the pool drops it from rotation.
  • Expose hackney:body/1,2 and hackney:stream_body/1 again so the response body can be read after start_response/1 in streaming body mode (#849). The migration guide and examples referenced these but they were not exported. The getting-started guide and README were corrected as well.

Full changelog: https://github.com/benoitc/hackney/blob/master/NEWS.md

Source: README.md, updated 2026-05-25