[Varnish] #668: accept(2) not checked in varnishtest
Varnish
varnish-bugs at varnish-cache.org
Tue Mar 23 00:14:52 CET 2010
#668: accept(2) not checked in varnishtest
-------------------------+--------------------------------------------------
Reporter: fgsch | Owner: phk
Type: defect | Status: new
Priority: low | Milestone: Varnish 2.1 release
Component: varnishtest | Version: trunk
Severity: minor | Keywords:
-------------------------+--------------------------------------------------
The descriptor returned by accept(2) is not checked in vtc_server.c and
vtc_http.c. For the former, if accept fails, -1 might be passed to poll,
which is valid but will make poll(2) return 0, in turn calling vtc_log and
eventually assert.
This is confusing and will lead to an erroneous error in vtc_log.
--
Ticket URL: <http://www.varnish-cache.org/ticket/668>
Varnish <http://varnish-cache.org/>
The Varnish HTTP Accelerator
More information about the varnish-bugs
mailing list