Files
libiscsi/lib
Ronnie Sahlberg c91de1e35a We might be called by some eventsystems with POLLIN eventhough there is
no data to read from the socket and there is no error.
For this case, if FIONREAD tells us that there are 0 bytes to read, check if
there is a socket error and return ok/error based on that.

Some eventsystems may cause this to burn some cpu if the socket is ok
but there are no bytes available to read by invoking POLLIN over and over, but it is better than failing the application.
2012-05-10 20:04:22 +10:00
..
MD5
2010-12-22 21:57:58 +11:00
2011-12-31 10:24:37 +11:00
2012-05-03 06:21:49 +10:00