From: adrian <> Date: Sun, 27 Oct 2002 21:15:49 +0000 (+0000) Subject: set a reasonable default for the accept checking. X-Git-Tag: SQUID_3_0_PRE1~551 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d846c273092df9ae73b8ce323bce62a85d3d07b6;p=thirdparty%2Fsquid.git set a reasonable default for the accept checking. --- diff --git a/src/comm.cc b/src/comm.cc index 9854ecab20..de1c4eefb9 100644 --- a/src/comm.cc +++ b/src/comm.cc @@ -1,6 +1,6 @@ /* - * $Id: comm.cc,v 1.356 2002/10/27 14:13:35 adrian Exp $ + * $Id: comm.cc,v 1.357 2002/10/27 14:15:49 adrian Exp $ * * DEBUG: section 5 Socket Functions * AUTHOR: Harvest Derived @@ -595,6 +595,10 @@ comm_read_cancel(int fd, IOCB *callback, void *data) } +/* + * Open a filedescriptor, set some sane defaults + * + accept() poll time is 250ms + */ void fdc_open(int fd, unsigned int type, char *desc) { @@ -602,6 +606,7 @@ fdc_open(int fd, unsigned int type, char *desc) fdc_table[fd].active = 1; fdc_table[fd].fd = fd; + comm_accept_setcheckperiod(fd, 250); fd_open(fd, type, desc); }