]> git.kaiwu.me - haproxy.git/commit
DOC: httpclient: document status 0 on internal error
authorWilliam Lallemand <wlallemand@irq6.net>
Sun, 14 Jun 2026 11:12:02 +0000 (11:12 +0000)
committerWilliam Lallemand <wlallemand@irq6.net>
Sun, 14 Jun 2026 11:19:26 +0000 (13:19 +0200)
commit5530f50e4bc90f3f84fcf4db8afac24a0eb1f0c1
tree4ed302bd71e5e299a491361ab4461be46188a2fe
parentf371bfd608b39d2e3c25ca941dd621a4ee3166f1
DOC: httpclient: document status 0 on internal error

This patch documents the behavior where the internal HTTP client sets
the response status to 0 when an error is encountered by the stream
(SF_ERR_MASK).

This allows users to distinguish between an HTTP status code returned
by a remote server and an internal error generated by HAProxy (e.g.
connection timeout, connection refused, etc.).
doc/lua-api/index.rst
doc/management.txt