]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: htx: make htx_from_buf() adjust the size only on new buffers
authorWilly Tarreau <w@1wt.eu>
Wed, 5 Dec 2018 08:47:34 +0000 (09:47 +0100)
committerWilly Tarreau <w@1wt.eu>
Wed, 5 Dec 2018 09:57:42 +0000 (10:57 +0100)
commit8ae4235f9454564dbb9f31cc827fccda5049e865
treed27f0f77f36b6a4f3178b90187c350736fca97cd
parent8706c8131620b08d3f39a56eb45f31aac3c17107
MINOR: htx: make htx_from_buf() adjust the size only on new buffers

This one is used a lot during transfers, let's avoid resetting its
size when there are already data in the buffer since it implies the
size is correct.
include/proto/htx.h