]> err.no Git - varnish/commit
This is a workaround for what is probably a race in FreeBSD RELENG_6
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Thu, 24 Aug 2006 06:15:13 +0000 (06:15 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Thu, 24 Aug 2006 06:15:13 +0000 (06:15 +0000)
commit5465cede63826fe188bf39c9c72e375238f03f28
tree92f81546f3b63d3965d3caa69a99feb817f13a90
parent99e409a458aa6f31d4b04aadd548f25e884c5e26
This is a workaround for what is probably a race in FreeBSD RELENG_6
socket dismantling.

There is no way that close(2) should ever be able to return EINVAL,
but we've seen it.

Specifically assert on EBADF which is the check we're really after.

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