]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: connection: add cs_set_error() to set the error bits
authorWilly Tarreau <w@1wt.eu>
Wed, 19 Dec 2018 16:59:30 +0000 (17:59 +0100)
committerWilly Tarreau <w@1wt.eu>
Wed, 19 Dec 2018 17:13:52 +0000 (18:13 +0100)
commite9f4301f0f9832a411878a8a23061a899e441dd6
treef0299772d8a57bf0b960765590b7a1c575e52ef4
parentf830f018cfdb7c795c7c60407e5f766f7a77a417
MINOR: connection: add cs_set_error() to set the error bits

Depending on the CS_FL_EOS status, we either set CS_FL_ERR_PENDING
or CS_FL_ERROR at various places. Let's have a generic function to
do this.
include/proto/connection.h