Hi,

I've found that varnishadm will sometimes exit thinking it has lost the CLI
connection to varnish when the result is long (exceeding the TCP MTU I
guess). This is because the socket it is listening on is non-blocking, and
the read_tmo() function will not restart a read operation that failed with
EAGAIN. Patch attached will change this function into restarting the poll
with timeout on EAGAIN.

Please review - any comments appreciated.

Regards,
Martin Blix Grydeland

-- 
Martin Blix Grydeland
Varnish Software AS

Attachment: 0001-Allow-restart-of-timeout-in-read_tmo-when-doing-non-.patch
Description: Binary data

_______________________________________________
varnish-dev mailing list
[email protected]
http://www.varnish-cache.org/lists/mailman/listinfo/varnish-dev

Reply via email to