From: wessels <> Date: Mon, 11 Aug 1997 08:29:08 +0000 (+0000) Subject: - In http.c, we need to keep httpState->orig_request after the request X-Git-Tag: SQUID_3_0_PRE1~4835 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=52ecbd092bc2b798662aaa4c537169dabd402bef;p=thirdparty%2Fsquid.git - In http.c, we need to keep httpState->orig_request after the request 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. --- diff --git a/src/http.cc b/src/http.cc index eb91041296..828c299090 100644 --- a/src/http.cc +++ b/src/http.cc @@ -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