]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: listener: small API change
authorAurelien DARRAGON <adarragon@haproxy.com>
Fri, 9 Sep 2022 13:32:57 +0000 (15:32 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 9 Sep 2022 15:23:01 +0000 (17:23 +0200)
commit001328873c352e5e4b1df0dcc8facaf2fc1408aa
tree4cd03839798e93467d9b5175fd8d6e14053fb987
parent7d00077fd5bd21e13aa976e6f3221cd44ae05eea
MINOR: listener: small API change

A minor API change was performed in listener(.c/.h) to restore consistency
between stop_listener() and (resume/pause)_listener() functions.

LISTENER_LOCK was never locked prior to calling stop_listener():
lli variable hint is thus not useful anymore.

Added PROXY_LOCK locking in (resume/pause)_listener() functions
with related lpx variable hint (prerequisite for #1626).

It should be backported to 2.6, 2.5 and 2.4
include/haproxy/listener.h
src/listener.c
src/protocol.c
src/proxy.c