/*
- * $Id: comm.cc,v 1.281 1998/07/29 02:57:35 wessels Exp $
+ * $Id: comm.cc,v 1.282 1998/08/11 05:53:49 wessels Exp $
*
* DEBUG: section 5 Socket Functions
* AUTHOR: Harvest Derived
continue;
if (F->type != FD_SOCKET)
continue;
+ if (F->flags.ipc) /* don't close inter-process sockets */
+ continue;
if (F->timeout_handler) {
debug(5, 5) ("commCloseAllSockets: FD %d: Calling timeout handler\n",
fd);
/*
- * $Id: ipc.cc,v 1.9 1998/08/10 19:37:48 wessels Exp $
+ * $Id: ipc.cc,v 1.10 1998/08/11 05:53:50 wessels Exp $
*
* DEBUG: section 54 Interprocess Communication
* AUTHOR: Duane Wessels
*rfd = prfd;
if (wfd)
*wfd = pwfd;
+ fd_table[prfd].flags.ipc = 1;
+ fd_table[pwfd].flags.ipc = 1;
return pwfd;
}
/* child */
/*
- * $Id: structs.h,v 1.194 1998/08/03 19:30:27 wessels Exp $
+ * $Id: structs.h,v 1.195 1998/08/11 05:53:50 wessels Exp $
*
*
* SQUID Internet Object Cache http://squid.nlanr.net/Squid/
int socket_eof:1;
int nolinger:1;
int nonblocking:1;
+ int ipc:1;
} flags;
int bytes_read;
int bytes_written;