]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
- In http.c, we need to keep httpState->orig_request after the request
authorwessels <>
Mon, 11 Aug 1997 08:29:08 +0000 (08:29 +0000)
committerwessels <>
Mon, 11 Aug 1997 08:29:08 +0000 (08:29 +0000)
  has been sent, in case we need to call httpRestart().
- Sometimes netscape (2.x, IRIX) hangs forever on '100% complete'.  Seems
  like netscape bug, but we should close the persistent connection after
  a short bit anyway.

src/http.cc

index eb910412965af8f6bac6a607334c7d973f30409c..828c2990902ccacfaa6c73661934d4c62e519e64 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: http.cc,v 1.182 1997/08/10 06:34:29 wessels Exp $
+ * $Id: http.cc,v 1.183 1997/08/11 02:29:08 wessels Exp $
  *
  * DEBUG: section 11    Hypertext Transfer Protocol (HTTP)
  * AUTHOR: Harvest Derived
@@ -947,8 +947,10 @@ httpSendRequest(int fd, void *data)
        httpSendComplete,
        httpState,
        buftype == BUF_TYPE_8K ? put_free_8k_page : xfree);
+#ifdef BREAKS_PCONN_RESTART
     requestUnlink(httpState->orig_request);
     httpState->orig_request = NULL;
+#endif
 }
 
 static int