]> git.kaiwu.me - haproxy.git/commitdiff
BUG/MINOR: haterm: Don't set HTX_FL_EOM flag on 100-Continue responses
authorChristopher Faulet <cfaulet@haproxy.com>
Tue, 5 May 2026 14:07:13 +0000 (16:07 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Tue, 5 May 2026 16:54:20 +0000 (18:54 +0200)
A 100-Continue response is an intermediary message. So the end of message
must not be announed.

src/haterm.c

index 11bab6a22db9c4d6f23c83494bada629cb1eb0d6..ea0d40cc8f56611c27d8f5d544bb2e1bcf126cbb 100644 (file)
@@ -523,7 +523,6 @@ static int hstream_build_http_100_continue_resp(struct hstream *hs)
                goto err;
        }
 
-       htx->flags |= HTX_FL_EOM;
        htx_to_buf(htx, buf);
        sl->info.res.status = 100;
        ret = 1;