MINOR: http: Reorder/rewrite checks in http_resync_states
authorChristopher Faulet <cfaulet@haproxy.com>
Tue, 18 Jul 2017 09:18:46 +0000 (11:18 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 18 Jul 2017 13:09:54 +0000 (15:09 +0200)
commitf77bb539d4846ab278269b99a3165a5608ca0cf4
tree1170070755ba3f4d77d0e7ed1a7c23a64aa15d55
parenta3992e06a6e74142d9784d18d8cb3527fadb64d6
MINOR: http: Reorder/rewrite checks in http_resync_states

The previous patch removed the forced symmetry of the TUNNEL mode during the
state synchronization. Here, we take care to remove body analyzer only on the
channel in TUNNEL mode. In fact, today, this change has no effect because both
sides are switched in same time. But this way, with some changes, it will be
possible to keep body analyzer on a side (to finish the states synchronization)
with the other one in TUNNEL mode.

WARNING: This patch will be used to fix a bug. The fix will be commited in a
very next commit. So if the fix is backported, this one must be backported too.
src/proto_http.c