projects
/
haproxy-3.0.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
966a18e
)
CLEANUP: mux-h1: Fix a trace message about C-L header addition
author
Christopher Faulet
<cfaulet@haproxy.com>
Tue, 12 Dec 2023 13:04:35 +0000
(14:04 +0100)
committer
Christopher Faulet
<cfaulet@haproxy.com>
Wed, 13 Dec 2023 15:45:29 +0000
(16:45 +0100)
This fixes a cut-paste error on a trace message notifying a 'Content-Length'
header was added during the HTTP message formatting.
src/mux_h1.c
patch
|
blob
|
history
diff --git
a/src/mux_h1.c
b/src/mux_h1.c
index
8adfeac
..
c324c2f
100644
(file)
--- a/
src/mux_h1.c
+++ b/
src/mux_h1.c
@@
-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);
if (!h1_format_htx_hdr(n, v, &outbuf))
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;
}