]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: contrib/spoa_example: Don't reset the status code during disconnect
authorChristopher Faulet <cfaulet@haproxy.com>
Thu, 31 May 2018 13:59:32 +0000 (15:59 +0200)
committerWilly Tarreau <w@1wt.eu>
Mon, 4 Jun 2018 15:34:50 +0000 (17:34 +0200)
commitb47e4385933b645cf6cac846599feb8a823822d1
treef1c8acbcac1f705271a55f48208027491e9d9e22
parent6381650516b3c3f9c272da66d33d9f9e23139594
BUG/MINOR: contrib/spoa_example: 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/spoa_example/spoa.c