[Varnish] #914: varnishadm fails to read large responses from varnishd
Varnish
varnish-bugs at varnish-cache.org
Fri May 13 23:22:48 CEST 2011
#914: varnishadm fails to read large responses from varnishd
-----------------------------+----------------------------------------------
Reporter: drwilco | Type: defect
Status: new | Priority: normal
Milestone: Varnish 3.0 dev | Component: varnishadm
Version: trunk | Severity: normal
Keywords: varnishadm |
-----------------------------+----------------------------------------------
When using 'param.show -l' I got errors. A little digging showed that
varnishadm uses a non-blocking socket to communicate with varnishd, but
doesn't take EAGAIN/EWOULDBLOCK fully into account when reading responses.
My patch fixes that by always doing a poll() before trying to read.
https://github.com/drwilco/varnish-
cache/commit/5094c2ae175d8335c79838ee5ecf89e3f9d4efb8
--
Ticket URL: <http://www.varnish-cache.org/trac/ticket/914>
Varnish <http://varnish-cache.org/>
The Varnish HTTP Accelerator
More information about the varnish-bugs
mailing list