REGTESTS: http-messaging: fix h1_big_chunk_size_line race on the error report
The request is larger than the buffer, so it is always received in at
least two reads and the chunk-size line error is only detected once the
headers were consumed. Depending on whether the stream analyzed the
headers before that, the error is reported by the H1 mux ("<BADREQ>"
logged) or by the stream, after the request was forwarded to the
server (request line logged, PH-- or even PL-- with a 200). The latter
was observed on macOS.
Let's set "option http-buffer-request" to never forward the request
before the error, and accept both the "<BADREQ>" and the request line
in the log. A 400 with PR-- termination flags is now always expected.
This should be backported with the commit
6e495dbb2a48 ("BUG/MAJOR: h1-htx:
report an error on a too long chunk-size line").