]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
add EINPROGRESS to ignored errnos
authorwessels <>
Thu, 9 Apr 1998 03:37:17 +0000 (03:37 +0000)
committerwessels <>
Thu, 9 Apr 1998 03:37:17 +0000 (03:37 +0000)
src/comm.cc

index e7eb8c5d1b6c66d309cf526ca40e77ca0750fd85..33544035a0a5b3903624708269cc7d54c63048aa 100644 (file)
@@ -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: