jerenkrantz 01/10/10 08:24:04
Modified: buckets apr_buckets_socket.c
Log:
Fair enough. =-)
Ryan and Cliff have convinced me that EAGAIN shouldn't be handled here.
It probably needs to be documented that buckets can return EAGAIN or
APR_SUCCESS.
Revision Changes Path
1.33 +0 -6 apr-util/buckets/apr_buckets_socket.c
Index: apr_buckets_socket.c
===================================================================
RCS file: /home/cvs/apr-util/buckets/apr_buckets_socket.c,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -r1.32 -r1.33
--- apr_buckets_socket.c 2001/10/09 05:17:18 1.32
+++ apr_buckets_socket.c 2001/10/10 15:24:03 1.33
@@ -76,12 +76,6 @@
if (block == APR_NONBLOCK_READ) {
apr_setsocketopt(p, APR_SO_TIMEOUT, timeout);
- /* There was nothing to read right now, so treat it as okay and
- * return a 0-length brigade (see below). */
- if (APR_STATUS_IS_EAGAIN(rv)) {
- *len = 0;
- rv = APR_SUCCESS;
- }
}
if (rv != APR_SUCCESS && rv != APR_EOF) {
|