]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[MAJOR] proxy: finally get rid of maintain_proxies()
authorWilly Tarreau <w@1wt.eu>
Mon, 25 Jul 2011 14:33:49 +0000 (16:33 +0200)
committerWilly Tarreau <w@1wt.eu>
Mon, 25 Jul 2011 14:33:49 +0000 (16:33 +0200)
commit918ff608f88ed0ccef42337c2bb6b80b9f782f71
tree9197769842e72a5c86fc813d77a55db7bbb07935
parent26e4881a2d56cb191e5259ea74528a50ea2c098b
[MAJOR] proxy: finally get rid of maintain_proxies()

This function is finally not needed anymore, as it has been replaced with
a per-proxy task that is scheduled when some limits are encountered on
incoming connections or when the process is stopping. The savings should
be noticeable on configs with a large number of proxies. The most important
point is that the rate limiting is now enforced in a clean and solid way.
include/proto/proxy.h
include/proto/task.h
include/types/proxy.h
src/cfgparse.c
src/haproxy.c
src/proxy.c
src/stream_sock.c