[squid-dev] [PATCH][pinger] fix select(2) to actually use max_fd

Yuriy M. Kaminskiy yumkam at gmail.com
Sun Feb 21 14:22:12 UTC 2016


In pinger, select() uses 10 instead of max_fd+1 (as squid seems closes
everything-but-stdin/out/err, it should mostly work in practice, but still
dirty and fragile).
Trivial patch attached.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: pinger-incorrect-select-maxfd.patch
Type: text/x-diff
Size: 430 bytes
Desc: not available
URL: <http://lists.squid-cache.org/pipermail/squid-dev/attachments/20160221/3bebd52f/attachment.patch>


More information about the squid-dev mailing list