]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: http-client: Trigger an error if first response block isn't a start-line
authorChristopher Faulet <cfaulet@haproxy.com>
Tue, 22 Jul 2025 06:22:06 +0000 (08:22 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Thu, 24 Jul 2025 10:13:42 +0000 (12:13 +0200)
commit88aa7a780c7d93faea4bc968fc56ce0527e47075
tree11904ccf4231ac2a739afc08f3666719c14d8017
parentc08a0dae30c47978bca05cffcda73735f736a5c3
MINOR: http-client: Trigger an error if first response block isn't a start-line

The first HTX block of a response must be a start-line. There is no reason
to wait for something else. And if there are output data in the response
channel buffer, it means we must found the start-line.
src/http_client.c