mirror of
http://git.haproxy.org/git/haproxy.git
synced 2026-02-10 10:13:41 +02:00
If an error a detected at the MUX layer, all remaining stream endpoints should be closed asap with error set. This is now done by checking for QC_CF_ERRL flag on qc_wake_some_streams() and qc_send_buf(). To complete this, qc_wake_some_streams() is called by qc_process() if needed. This should help to quickly release streams as soon as a new error is detected locally by the MUX or APP layer. This allows to in turn free the MUX instance itself. Previously, error would not have been automatically reported until the transport layer closure would occur on CONNECTION_CLOSE emission. This should be backported up to 2.7.