]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: h1-htx: Update h1_copy_msg_data() to ease the traces in the mux-h1
authorChristopher Faulet <cfaulet@haproxy.com>
Tue, 1 Oct 2019 19:52:49 +0000 (21:52 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 4 Oct 2019 13:46:59 +0000 (15:46 +0200)
commitaf542635f7f49589c9917acf35baf0a833e958dc
tree3062a13e211bf349eb4ceed73fea5aa1c2eb7326
parentf81ef0344ea66701d0b729de17cb061a10e2f1b9
MINOR: h1-htx: Update h1_copy_msg_data() to ease the traces in the mux-h1

This function now uses the address of the pointer to the htx message where the
copy must be performed. This way, when a zero-copy is performed, there is no
need to refresh the caller's htx message. It is a bit easier to do that way,
especially to add traces in the mux-h1.
include/proto/h1_htx.h
src/h1_htx.c
src/mux_fcgi.c
src/mux_h1.c