Skip to content

v5.1.30

Choose a tag to compare

@github-actions github-actions released this 27 Oct 22:23
· 3484 commits to main since this release
aa2c6fa

Server: stalled PROXY-protocol connections are closed

Each worker's local Unix-socket listener (the per-thread mirror that a local proxy forwards traffic to) accepts an optional PROXY v1 header in front of each connection. A peer that sent the PROXY prefix and never finished the header line kept that connection and its pending buffer open indefinitely. The listener now closes a connection whose header has not resolved within 10 seconds of inactivity, and clears the timer as soon as the header is parsed or the connection is recognized as plain HTTP. (#2956, backport of the same guard on main)

Full Changelog: v5.1.29...v5.1.30