Is this really required?
Seems like a hack around a CYGWIN bug which should be fixed in CYGWIN if
it isn't already. If CYGWIN cannot manage non-blocking I/O for read
I cannot say it is a viable platform for running Squid. We are
VERY likely to run into more issues like this.
--
Henrik
found in clientKeepaliveNextRequest()
/*
* CYGWIN has a problem and is blocking on read() requests when
there
* is no data present.
* This hack may hit performance a little, but it's better than
* blocking!.
*/
#ifdef _SQUID_CYGWIN_
commSetSelect(conn->fd, COMM_SELECT_READ, clientReadRequest,
conn, 0);
#else
clientReadRequest(conn->fd, conn); /* Read next request */
#endif
--
Henrik
Received on Mon Jul 16 2001 - 05:38:15 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:14:07 MST