]> err.no Git - varnish/commit
Back in the mists of time, the SocketWizards were so happy to get
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Fri, 30 May 2008 21:39:56 +0000 (21:39 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Fri, 30 May 2008 21:39:56 +0000 (21:39 +0000)
commitd0db89398846db754400d1e96c02f091b06e8153
treefca0d14b42844cb0b45f351e25fa12efb4de8eb2
parent424835697c21beca22d757e59ea775c8048e9b4c
Back in the mists of time, the SocketWizards were so happy to get
any connections at all, that they didn't even consider that maybe
connect(2) should have a timeout argument.

Add TCP_connect() which addresses this shortcoming, using what I
belive is a widely supported workaround.

Not to POSIX: please fix.

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2641 d4fa192b-c00b-0410-8231-f00ffab90ce4
varnish-cache/bin/varnishd/common.h
varnish-cache/bin/varnishd/tcp.c