]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: contrib/mod_defender: Don't reset the status code during disconnect
authorChristopher Faulet <cfaulet@haproxy.com>
Thu, 31 May 2018 14:04:53 +0000 (16:04 +0200)
committerWilly Tarreau <w@1wt.eu>
Mon, 4 Jun 2018 15:34:50 +0000 (17:34 +0200)
commit72de8eb7aa4c2e890ed1a5c89d40b8b041c71b0c
tree0c4cdb3a643fe99fcebea56cbf3dd8d844c4cc8a
parentb47e4385933b645cf6cac846599feb8a823822d1
BUG/MINOR: contrib/mod_defender: Don't reset the status code during disconnect

When the connection is closed by HAProxy, the status code provided in the
DISCONNECT frame is lost. By retransmitting it in the agent's reply, we are sure
to have it in the SPOE logs.

This patch may be backported in 1.8.
contrib/mod_defender/spoa.c