]> err.no Git - varnish/commit
Don't leak listen address structures if we fail to bind to them.
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Mon, 9 Jun 2008 13:11:45 +0000 (13:11 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Mon, 9 Jun 2008 13:11:45 +0000 (13:11 +0000)
commitdc8283be9791ccd5723b58aa42c9735bc60f662e
treef60be850e6ae01df84809e86cd7068cb65b095e1
parent46f0a8c8e7751f489f90a637305128f43455fed9
Don't leak listen address structures if we fail to bind to them.

Associate ascii representation addr/port strings with each listen
socket, already in the manager process.

Postpone listen(2) call until client is ready, to limit initial
connection spike.

XXX: I still miss an unlisten(2).

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2658 d4fa192b-c00b-0410-8231-f00ffab90ce4
varnish-cache/bin/varnishd/cache_acceptor.c
varnish-cache/bin/varnishd/heritage.h
varnish-cache/bin/varnishd/mgt_child.c