From: wessels <> Date: Thu, 9 Apr 1998 03:37:17 +0000 (+0000) Subject: add EINPROGRESS to ignored errnos X-Git-Tag: SQUID_3_0_PRE1~3560 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=899242149da9cedcaacf8b29707c8114f68d3cde;p=thirdparty%2Fsquid.git add EINPROGRESS to ignored errnos --- diff --git a/src/comm.cc b/src/comm.cc index e7eb8c5d1b..33544035a0 100644 --- a/src/comm.cc +++ b/src/comm.cc @@ -1,7 +1,7 @@ /* - * $Id: comm.cc,v 1.246 1998/04/08 17:24:49 wessels Exp $ + * $Id: comm.cc,v 1.247 1998/04/08 21:37:17 wessels Exp $ * * DEBUG: section 5 Socket Functions * AUTHOR: Harvest Derived @@ -1438,10 +1438,15 @@ comm_write_mbuf(int fd, MemBuf mb, CWCB * handler, void *handler_data) comm_write(fd, mb.buf, mb.size, handler, handler_data, memBufFreeFunc(&mb)); } +/* + * hm, this might be too general-purpose for all the places we'd + * like to use it. + */ int ignoreErrno(int ierrno) { switch (ierrno) { + case EINPROGRESS: case EWOULDBLOCK: #if EAGAIN != EWOULDBLOCK case EAGAIN: