Skip to content

build(deps): bump hackney from 4.9.1 to 4.10.2 in /copi.owasp.org - #3793

Open
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/hex/copi.owasp.org/hackney-4.10.2
Open

dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/hex/copi.owasp.org/hackney-4.10.2

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 16, 2026

Copy link
Copy Markdown
Contributor

Bumps hackney from 4.9.1 to 4.10.2.

Release notes

Sourced from hackney's releases.

4.10.2

Fixed

  • Closing a connection whose server accepted the request but never answered could hang: close waited for the pending read to end, which on a pooled connection was never. close now returns within about a second (#996).
  • A request whose caller was killed while it waited for a pooled connection could keep its per-host slot forever. After enough such deaths (50 by default) every later request to that host failed with checkout_timeout until the node restarted. The slot is now released (#974).
  • A request that gave up waiting for a pooled connection (checkout_timeout) could still be served later by the pool: it opened or reserved a connection nobody used, and freed a per-host slot twice, which let more requests than max_per_host run against that host. The pool now skips requests whose caller has stopped waiting.
  • Opening several HTTPS connections to the same host at once could make a few of them fail with bad_record_mac when TLS 1.3 session resumption was on (the default). Erlang's TLS client could offer the same session ticket on two connections at once. Only one new connection per host now resumes a session at a time; the others do a full handshake (#995).
  • Socket options set in connect_options, such as {nodelay, true}, were lost on pooled connections: a request could be served a connection opened without them, including the ones the pool opens ahead of time. Pooled HTTP/1.1 and shared HTTP/2 connections are now only reused by requests with the same socket options, and the pool opens connections ahead of time with them. Requests without connect_options share connections as before (#970).
  • Through an HTTP CONNECT or SOCKS5 proxy, and on WebSocket connections, most socket options set in connect_options were dropped: only a few (nodelay, linger, send_timeout, raw, inet6) reached the socket, and a WebSocket through a proxy used none of them. All socket options now apply. Options hackney needs to read the socket itself, such as active or packet, are still ignored (#970).
  • HTTP/3 connections ignored the socket options in connect_options, such as a source address to bind (ip) or buffer sizes; only family was used. The options that apply to UDP now reach the HTTP/3 socket, and a shared HTTP/3 connection is reused only by requests with the same options. TCP-only options such as nodelay are ignored there, as before (#970).
  • WebTransport sessions ignored the socket options and family in connect_options. They now reach the socket: the UDP options over HTTP/3, the TCP options over HTTP/2 (#970).
  • A streamed request body (stream, then send_body and finish_send_body) ignored a Content-Length set by the caller. Over HTTP/1.1 hackney added Transfer-Encoding: chunked and chunk-framed the body anyway, so the request carried both headers and a server reading Content-Length saw the framing as body bytes: uploads of known size to stores that require it, such as S3, failed. Over HTTP/2 and HTTP/3 the

... (truncated)

Changelog

Sourced from hackney's changelog.

4.10.2 - 2026-11-10

Fixed

  • Closing a connection whose server accepted the request but never answered could hang: close waited for the pending read to end, which on a pooled connection was never. close now returns within about a second (#996).
  • A request whose caller was killed while it waited for a pooled connection could keep its per-host slot forever. After enough such deaths (50 by default) every later request to that host failed with checkout_timeout until the node restarted. The slot is now released (#974).
  • A request that gave up waiting for a pooled connection (checkout_timeout) could still be served later by the pool: it opened or reserved a connection nobody used, and freed a per-host slot twice, which let more requests than max_per_host run against that host. The pool now skips requests whose caller has stopped waiting.
  • Opening several HTTPS connections to the same host at once could make a few of them fail with bad_record_mac when TLS 1.3 session resumption was on (the default). Erlang's TLS client could offer the same session ticket on two connections at once. Only one new connection per host now resumes a session at a time; the others do a full handshake (#995).
  • Socket options set in connect_options, such as {nodelay, true}, were lost on pooled connections: a request could be served a connection opened without them, including the ones the pool opens ahead of time. Pooled HTTP/1.1 and shared HTTP/2 connections are now only reused by requests with the same socket options, and the pool opens connections ahead of time with them. Requests without connect_options share connections as before (#970).
  • Through an HTTP CONNECT or SOCKS5 proxy, and on WebSocket connections, most socket options set in connect_options were dropped: only a few (nodelay, linger, send_timeout, raw, inet6) reached the socket, and a WebSocket through a proxy used none of them. All socket options now apply. Options hackney needs to read the socket itself, such as active or packet, are still ignored (#970).
  • HTTP/3 connections ignored the socket options in connect_options, such as a source address to bind (ip) or buffer sizes; only family was used. The options that apply to UDP now reach the HTTP/3 socket, and a shared HTTP/3 connection is reused only by requests with the same options. TCP-only options such as nodelay are ignored there, as before (#970).
  • WebTransport sessions ignored the socket options and family in connect_options. They now reach the socket: the UDP options over HTTP/3, the TCP options over HTTP/2 (#970).
  • A streamed request body (stream, then send_body and finish_send_body) ignored a Content-Length set by the caller. Over HTTP/1.1 hackney added Transfer-Encoding: chunked and chunk-framed the body anyway, so the request carried both headers and a server reading

... (truncated)

Commits
  • 0cb9539 Merge pull request #1024 from benoitc/release/4.10.2
  • 263fe62 Bump webtransport to 0.5.5
  • 7b1a3ef Release 4.10.2
  • b8d558a Fix the edoc of h2_upload_failed/3
  • a82ae3b Report what is left when the chaos test does not settle (#1023)
  • e4aa0c2 Honor a caller's Content-Length on streamed request bodies (#1021)
  • 147b037 Pass connect_options to WebTransport sessions (#1020)
  • 50bdf39 Forward UDP socket options to HTTP/3 connections (#1019)
  • 7efaab3 Pass all socket options through proxies and WebSocket (#1017)
  • 2bdc241 Bump h2 to 0.15.1 (#1018)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [hackney](https://github.com/benoitc/hackney) from 4.9.1 to 4.10.2.
- [Release notes](https://github.com/benoitc/hackney/releases)
- [Changelog](https://github.com/benoitc/hackney/blob/master/NEWS.md)
- [Commits](benoitc/hackney@4.9.1...4.10.2)

---
updated-dependencies:
- dependency-name: hackney
  dependency-version: 4.10.2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot requested review from rewtd and sydseter as code owners November 16, 2026 07:04
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file elixir Pull requests that update elixir code labels Nov 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file elixir Pull requests that update elixir code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants