mirror of
http://git.haproxy.org/git/haproxy.git
synced 2026-02-11 01:42:31 +02:00
If an HTTP data filter is registered on a channel, we must not rely on the HTX extra field because the payload may be changed and we cannot predict if this value will change or not. It is too errorprone to let filters deal with this reponsibility. So we set it to 0 when payload filtering is performed, but only if the payload length can be determined. It is important because this field may be used when data are forwarded. In fact, it will be used by the H1 multiplexer to be able to splice chunk-encoded payload.