]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Replace Config.stallDelay--which was being set to zero--with '1'
authorwessels <>
Wed, 22 Oct 1997 01:38:50 +0000 (01:38 +0000)
committerwessels <>
Wed, 22 Oct 1997 01:38:50 +0000 (01:38 +0000)
src/ftp.cc
src/gopher.cc
src/http.cc
src/structs.h
src/wais.cc

index 87cda78e8853abb71f741cb8a4e4bdfa30c67ace..f2b8a4965f299273dca2177782ebf6b4e3ca0115 100644 (file)
@@ -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);
index 0b99f1c09550cf82ddf8dbe612a0b900b41fd72e..262cfc1dc7b3721f8025f68965ca5084ef18c98d 100644 (file)
@@ -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);
index 56459f45d962e3e99d7ee6a64d28a3fbc4b0a982..fbde0e45bb1eb74988431e40ee8c013bc08fe509 100644 (file)
@@ -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);
index 08a57418305cff3b613331d1df3f0e784e7fb24d..f00e4f0a14c99827146d58ffb2999894b37480d8 100644 (file)
@@ -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;
index 7ef30bbc0e5fd452670616fbbcad959c698fceae..15ac25585473ae6584468412099dba15c584dba2 100644 (file)
@@ -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);