mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-03-06 11:28:00 +00:00
In htx_copy_msg(), if the destination buffer is empty, we perform a raw copy of the message instead of a copy block per block. But we must be sure the destianation buffer was really allocated. In other word, to perform a raw copy, the HTX message must be empty _AND_ it must have some free space available. This function is only used to copy an HTTP reply (for instance, an error or a redirect) in the buffer of the response channel. For now, we are sure the buffer was allocated because it is a pre-requisite to call stream analyzers. However, it may be a source of bug in future. This patch may be backported as far as 2.3. |
||
---|---|---|
.. | ||
haproxy | ||
import |