/*
- * $Id: comm.cc,v 1.407 2005/08/25 19:30:01 wessels Exp $
+ * $Id: comm.cc,v 1.408 2005/08/27 18:40:20 serassio Exp $
*
* DEBUG: section 5 Socket Functions
* AUTHOR: Harvest Derived
int nonblocking = TRUE;
+#ifdef _SQUID_CYGWIN_
+
if (fd_table[fd].type != FD_PIPE) {
+#endif
+
if (ioctl(fd, FIONBIO, &nonblocking) < 0) {
debug(50, 0) ("commSetNonBlocking: FD %d: %s %d\n", fd, xstrerror(), fd_table[fd].type);
return COMM_ERROR;
}
+
+#ifdef _SQUID_CYGWIN_
+
} else {
#endif
+#endif
#ifndef _SQUID_MSWIN_
if ((flags = fcntl(fd, F_GETFL, dummy)) < 0) {
}
#endif
-#ifdef _SQUID_WIN32_
+#ifdef _SQUID_CYGWIN_
}
/*
- * $Id: fd.cc,v 1.52 2005/01/06 13:16:39 serassio Exp $
+ * $Id: fd.cc,v 1.53 2005/08/27 18:40:20 serassio Exp $
*
* DEBUG: section 51 Filedescriptor Functions
* AUTHOR: Duane Wessels
F->epoll_state = 0;
#ifdef _SQUID_MSWIN_
+ F->win32.handle = _get_osfhandle(fd);
+
switch (type) {
case FD_SOCKET:
/*
- * $Id: fde.h,v 1.8 2005/04/18 21:52:42 hno Exp $
+ * $Id: fde.h,v 1.9 2005/08/27 18:40:20 serassio Exp $
*
*
* SQUID Web Proxy Cache http://www.squid-cache.org/
SSL *ssl;
#endif
+#ifdef _SQUID_MSWIN_
+
+ struct
+ {
+
+ long handle;
+ }
+
+ win32;
+#endif
+
};
#endif /* SQUID_FDE_H */