]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: proxy: add the global frontend to the list of normal proxies
authorWilly Tarreau <w@1wt.eu>
Thu, 4 Oct 2012 06:47:34 +0000 (08:47 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 4 Oct 2012 06:58:23 +0000 (08:58 +0200)
commit050536d582cedb28043249e37a5754d1bb0b1e96
treee0cab5ec51397c45581b56607d65af3f405e6313
parentb3fb60bdcd15cd3bd925a6423f40498f4a695043
MEDIUM: proxy: add the global frontend to the list of normal proxies

Since recent changes on the global frontend, it was not possible anymore
to soft-reload a process which had a stats socket because the socket would
not be disabled upon reload. The only solution to this endless madness is
to have the global frontend part of normal proxies.

Since we don't want to get an ID that shifts all other proxies and causes
trouble in deployed environments, we assign it ID #0 which other proxies
can't grab, and we don't report it in the stats pages.
src/cfgparse.c
src/dumpstats.c
src/proxy.c