]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: sconn: Set SE_FL_ERROR only when there is no more data to read
authorChristopher Faulet <cfaulet@haproxy.com>
Mon, 17 Oct 2022 08:21:19 +0000 (10:21 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Thu, 17 Nov 2022 13:33:15 +0000 (14:33 +0100)
commit7f6aa56d471c44776a2533887c2b57f90865b80c
treecd6c51d858b7ad5ac98d5492918a07343061ceee
parentab79b321d66b941f588351bcde8316324f9cb71b
MINOR: sconn: Set SE_FL_ERROR only when there is no more data to read

SE_FL_ERR_PENDING flag is used when there is still data to be read. So we
must take care to not set SE_FL_ERROR too early. Thus, on sending path, it
must be set if SE_FL_EOS was already set.
src/stconn.c