]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: h1-htx: Use the same function to copy message payload in all cases
authorChristopher Faulet <cfaulet@haproxy.com>
Mon, 12 Aug 2019 20:42:21 +0000 (22:42 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Tue, 17 Sep 2019 08:18:54 +0000 (10:18 +0200)
commitcc3124cf44ad78897c2df6532ad4ee4d348bdec7
tree10735ceb24bf05a0a8082e215849fd3f75c439dc
parent4f0f88a9d0f383a9b290e4f0fe55d7d8b9b9d180
MINOR: h1-htx: Use the same function to copy message payload in all cases

This function will try to do a zero-copy transfer. Otherwise, it adds a data
block. The same is used for messages with a content-length, chunked messages and
messages with unknown body length.
src/h1_htx.c