/*
- * $Id: comm.cc,v 1.212 1997/12/02 00:15:50 wessels Exp $
+ * $Id: comm.cc,v 1.213 1997/12/03 04:39:07 wessels Exp $
*
* DEBUG: section 5 Socket Functions
* AUTHOR: Harvest Derived
debug(5, 9) ("connect FD %d: %s\n", sock, xstrerror());
switch (errno) {
case EALREADY:
+#ifdef _SQUID_HPUX_
+ /*
+ * On my HP-UX box (HP-UX tirana B.10.10 A 9000/851),
+ * we get into fast loops on EALREADY. select(2) continually
+ * says the FD is ready for writing, but connect always
+ * returns EALREADY. I applied a patch (PHNE_12906) but
+ * it didn't help. -DW Dec 1, 1997
+ */
+ debug(50, 1) ("connect: %s:%d: %s.\n",
+ fqdnFromAddr(address->sin_addr),
+ ntohs(address->sin_port),
+ xstrerror());
+ return COMM_ERROR;
+ /* NOTREACHEd */
+#endif
#if EAGAIN != EWOULDBLOCK
case EAGAIN:
#endif