mirror of
https://github.com/haproxy/haproxy.git
synced 2026-04-02 23:55:05 -04:00
Mailing list participant "mlist" reported negative conn_cur values in
stick tables as the result of "tcp-request connection track-sc". The
reason is that after the stick entry it copied from the session to the
stream, both the session and the stream grab a reference to the entry
and when the stream ends, it decrements one reference and one connection,
then the same is done for the session.
In fact this problem was already encountered slightly differently in the
past and addressed by Thierry using the patch below as it was believed by
then to be only a refcount issue since it was the observable symptom :
|
||
|---|---|---|
| .. | ||
| common | ||
| import | ||
| proto | ||
| types | ||