mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-01-01 01:32:04 +00:00
CLEANUP: mux-h1: Fix a trace message about C-L header addition
This fixes a cut-paste error on a trace message notifying a 'Content-Length' header was added during the HTTP message formatting.
This commit is contained in:
parent
966a18e2b4
commit
65ca444240
@ -2392,7 +2392,7 @@ static size_t h1_make_eoh(struct h1s *h1s, struct h1m *h1m, struct htx *htx, siz
|
|||||||
h1_adjust_case_outgoing_hdr(h1s, h1m, &n);
|
h1_adjust_case_outgoing_hdr(h1s, h1m, &n);
|
||||||
if (!h1_format_htx_hdr(n, v, &outbuf))
|
if (!h1_format_htx_hdr(n, v, &outbuf))
|
||||||
goto full;
|
goto full;
|
||||||
TRACE_STATE("add \"Content-Length: chunked\"", H1_EV_TX_DATA|H1_EV_TX_HDRS, h1c->conn, h1s);
|
TRACE_STATE("add \"Content-Length: <LEN>\"", H1_EV_TX_DATA|H1_EV_TX_HDRS, h1c->conn, h1s);
|
||||||
h1s->flags |= H1S_F_HAVE_CLEN;
|
h1s->flags |= H1S_F_HAVE_CLEN;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user