Searched hist:234837 (Results 1 - 1 of 1) sorted by relevance

/freebsd-11-stable/lib/libfetch/
H A Dcommon.cdiff 234837 Mon Apr 30 10:15:22 MDT 2012 des Since the socket is non-blocking, it is necessary to use select(2) even
when there is no timeout, because read(2) will return immediately if there
is no data waiting in the TCP buffer, causing fetch_read() to busy-loop on
slow connections.

MFC after: 3 weeks
Noticed by: Yanhui Shen <shen.elf@gmail.com>

Completed in 66 milliseconds