BUG/MINOR: stream: Decrement server current session counter on L7 retry

When a L7 retry is performed, we must not forget to decrement the current
session counter of the assigned server. Of course, it must only be done if
the current session is already counted on the server, thus if SF_CURR_SESS
flag is set on the stream.

This patch is related to the issue #1003. It must be backported as far as
2.0.

(cherry picked from commit e763c8c99f7134a009117a59e6a6002b3c9e8c84)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
(cherry picked from commit 669d667f336290d05a6bb38b787d7624f0177964)
Signed-off-by: Willy Tarreau <w@1wt.eu>
(cherry picked from commit c9d7c643d75ac96e369eac66bfbbd260c908ff76)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
1 file changed