]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: mux-h1: Simplify zero-copy on sending path
authorChristopher Faulet <cfaulet@haproxy.com>
Wed, 27 Sep 2023 14:28:32 +0000 (16:28 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Tue, 17 Oct 2023 16:51:13 +0000 (18:51 +0200)
commit129787fb000770e07e95013a50450e7012e38801
tree9adc328671e17747e994044c04ba0abc183d37a9
parent6dff013fad108fb5570347f07585a50d747f894f
MEDIUM: mux-h1: Simplify zero-copy on sending path

In h1_make_data(), the function responsible to format the message payload
before sending it, the code dealing with zero-copy was slighly simplified
(at least for me :).

There is no real change but there is a better split between messages with a
content-length and cunked messages.
src/mux_h1.c