]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: streams: Don't switch the SI to SI_ST_DIS if we have data to send.
authorOlivier Houchard <ohouchard@haproxy.com>
Fri, 26 Jul 2019 12:54:34 +0000 (14:54 +0200)
committerOlivier Houchard <cognet@ci0.org>
Fri, 26 Jul 2019 12:56:41 +0000 (14:56 +0200)
commit7859526fd6ce7ea33e20b7e532b21aa2465cb11d
treee9bed291c01f43ee1a6c36c01c4a3de026592322
parent366ad86af72c455cc958943913cb2de20eefee71
BUG/MEDIUM: streams: Don't switch the SI to SI_ST_DIS if we have data to send.

In sess_established(), don't immediately switch the backend stream_interface
to SI_ST_DIS if we only got a SHUTR. We may still have something to send,
ie if the request is a POST, and we should be switched to SI_ST8DIS later
when the shutw will happen.

This should be backported to 2.0 and 1.9.
src/stream.c