From: wessels <> Date: Wed, 22 Oct 1997 01:38:50 +0000 (+0000) Subject: Replace Config.stallDelay--which was being set to zero--with '1' X-Git-Tag: SQUID_3_0_PRE1~4741 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ab6aa5623f6c4bcad07a05a16c8b5e64237bd83d;p=thirdparty%2Fsquid.git Replace Config.stallDelay--which was being set to zero--with '1' --- diff --git a/src/ftp.cc b/src/ftp.cc index 87cda78e88..f2b8a4965f 100644 --- a/src/ftp.cc +++ b/src/ftp.cc @@ -1,6 +1,6 @@ /* - * $Id: ftp.cc,v 1.141 1997/10/21 18:24:02 wessels Exp $ + * $Id: ftp.cc,v 1.142 1997/10/21 19:38:50 wessels Exp $ * * DEBUG: section 9 File Transfer Protocol (FTP) * AUTHOR: Harvest Derived @@ -631,7 +631,7 @@ ftpReadData(int fd, void *data) BIT_SET(entry->flag, READ_DEFERRED); } /* dont try reading again for a while */ - comm_set_stall(fd, Config.stallDelay); + comm_set_stall(fd, 1); return; } else { BIT_RESET(entry->flag, READ_DEFERRED); diff --git a/src/gopher.cc b/src/gopher.cc index 0b99f1c095..262cfc1dc7 100644 --- a/src/gopher.cc +++ b/src/gopher.cc @@ -1,6 +1,6 @@ /* - * $Id: gopher.cc,v 1.98 1997/10/20 19:09:00 wessels Exp $ + * $Id: gopher.cc,v 1.99 1997/10/21 19:38:51 wessels Exp $ * * DEBUG: section 10 Gopher * AUTHOR: Harvest Derived @@ -701,7 +701,7 @@ gopherReadReply(int fd, void *data) BIT_SET(entry->flag, READ_DEFERRED); } /* dont try reading again for a while */ - comm_set_stall(fd, Config.stallDelay); + comm_set_stall(fd, 1); return; } else { BIT_RESET(entry->flag, READ_DEFERRED); diff --git a/src/http.cc b/src/http.cc index 56459f45d9..fbde0e45bb 100644 --- a/src/http.cc +++ b/src/http.cc @@ -1,5 +1,5 @@ /* - * $Id: http.cc,v 1.191 1997/10/17 00:00:37 wessels Exp $ + * $Id: http.cc,v 1.192 1997/10/21 19:38:52 wessels Exp $ * * DEBUG: section 11 Hypertext Transfer Protocol (HTTP) * AUTHOR: Harvest Derived @@ -633,7 +633,7 @@ httpReadReply(int fd, void *data) BIT_SET(entry->flag, READ_DEFERRED); } /* dont try reading again for a while */ - comm_set_stall(fd, Config.stallDelay); + comm_set_stall(fd, 1); return; } else { BIT_RESET(entry->flag, READ_DEFERRED); diff --git a/src/structs.h b/src/structs.h index 08a5741830..f00e4f0a14 100644 --- a/src/structs.h +++ b/src/structs.h @@ -114,7 +114,6 @@ struct _SquidConfig { time_t positiveDnsTtl; time_t shutdownLifetime; time_t neighborTimeout; - time_t stallDelay; struct { time_t read; time_t defer; diff --git a/src/wais.cc b/src/wais.cc index 7ef30bbc0e..15ac255854 100644 --- a/src/wais.cc +++ b/src/wais.cc @@ -1,6 +1,6 @@ /* - * $Id: wais.cc,v 1.85 1997/10/17 00:00:51 wessels Exp $ + * $Id: wais.cc,v 1.86 1997/10/21 19:38:54 wessels Exp $ * * DEBUG: section 24 WAIS Relay * AUTHOR: Harvest Derived @@ -199,7 +199,7 @@ waisReadReply(int fd, void *data) BIT_SET(entry->flag, READ_DEFERRED); } /* dont try reading again for a while */ - comm_set_stall(fd, Config.stallDelay); + comm_set_stall(fd, 1); return; } else { BIT_RESET(entry->flag, READ_DEFERRED);