mirror of
https://github.com/haproxy/haproxy.git
synced 2026-04-14 05:16:25 -04:00
BUG/MINOR: haterm: Return the good start-line for 100-continue interim message
When "Expect" header was found in request headers, "HTTP/1.1 100-continue" was returned instead of "HTTP/1.1 100 continue". Let's fix it. No backport needed.
This commit is contained in:
parent
0cde3cd4df
commit
265be7e8cb
1 changed files with 1 additions and 1 deletions
|
|
@ -509,7 +509,7 @@ static int hstream_build_http_100_continue_resp(struct hstream *hs)
|
|||
|
||||
htx = htx_from_buf(buf);
|
||||
sl = htx_add_stline(htx, HTX_BLK_RES_SL, flags, ist("HTTP/1.1"),
|
||||
ist("100-continue"), IST_NULL);
|
||||
ist("100"), ist("continue"));
|
||||
if (!sl) {
|
||||
TRACE_ERROR("could not add HTX start line", HS_EV_HSTRM_SEND, hs);
|
||||
goto err;
|
||||
|
|
|
|||
Loading…
Reference in a new issue