From: wessels <> Date: Sun, 18 Oct 1998 15:06:52 +0000 (+0000) Subject: clear global read/write bits in comm_incoming handlers X-Git-Tag: SQUID_3_0_PRE1~2549 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=55f7312444665a990d12274bf4dd1ef039c77242;p=thirdparty%2Fsquid.git clear global read/write bits in comm_incoming handlers --- diff --git a/src/comm_select.cc b/src/comm_select.cc index 22e08f2379..45e72e5116 100644 --- a/src/comm_select.cc +++ b/src/comm_select.cc @@ -1,6 +1,6 @@ /* - * $Id: comm_select.cc,v 1.18 1998/10/18 08:43:32 wessels Exp $ + * $Id: comm_select.cc,v 1.19 1998/10/18 09:06:52 wessels Exp $ * * DEBUG: section 5 Socket Functions * @@ -455,6 +455,7 @@ comm_check_incoming_select_handlers(int nfds, int *fds) if (FD_ISSET(fd, &read_mask)) { if ((hdl = fd_table[fd].read_handler) != NULL) { fd_table[fd].read_handler = NULL; + commUpdateReadBits(fd, NULL); hdl(fd, &incame); } else { debug(5, 1) ("comm_select_incoming: NULL read handler\n"); @@ -463,6 +464,7 @@ comm_check_incoming_select_handlers(int nfds, int *fds) if (FD_ISSET(fd, &write_mask)) { if ((hdl = fd_table[fd].write_handler) != NULL) { fd_table[fd].write_handler = NULL; + commUpdateWriteBits(fd, NULL); hdl(fd, &incame); } else { debug(5, 1) ("comm_select_incoming: NULL write handler\n");