]> git.kaiwu.me - haproxy.git/commit
REGTESTS: http-messaging: send h1_big_chunk_size_line request at once
authorOlivier Houchard <ohouchard@haproxy.com>
Wed, 18 Nov 2026 12:44:29 +0000 (13:44 +0100)
committerOlivier Houchard <cognet@ci0.org>
Wed, 18 Nov 2026 12:35:17 +0000 (13:35 +0100)
commit586d0eef7da496cdb4f0658fbdda6c54af831979
treea351e318f37bc96da5916468f0efc4483e99dc95
parent733b95e729b3c0945eb3c86843368a961d5c8e32
REGTESTS: http-messaging: send h1_big_chunk_size_line request at once

The test expects the headers and the chunk-size line to fill the buffer
on the first read, so that the request is rejected before being
forwarded. But they were sent as ~986 small writes, and when haproxy
received them in two parts (seen on FreeBSD CI), the first read did not
fill the buffer: the headers were forwarded and the server's 200 was
logged instead of the expected 400. Let's send the whole request in a
single write, with a chunk-size line longer than the buffer.
reg-tests/http-messaging/h1_big_chunk_size_line.vtc