BUG/MINOR: contrib/modsecurity: Don't reset the status code during disconnect
authorChristopher Faulet <cfaulet@haproxy.com>
Thu, 31 May 2018 14:05:21 +0000 (16:05 +0200)
committerWilly Tarreau <w@1wt.eu>
Mon, 4 Jun 2018 15:34:51 +0000 (17:34 +0200)
commit58b8e492a311b5dfec533734c1e22ea76d352aed
tree0e1016060fab8432ea732f87513a7514373c045a
parent72de8eb7aa4c2e890ed1a5c89d40b8b041c71b0c
BUG/MINOR: contrib/modsecurity: 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/modsecurity/spoa.c