From: wessels <> Date: Fri, 13 Mar 1998 13:37:40 +0000 (+0000) Subject: warn about potential coredump from httpRestart on a POST? X-Git-Tag: SQUID_3_0_PRE1~3845 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e371ed5c351d70a47125127321dc63b033a3da45;p=thirdparty%2Fsquid.git warn about potential coredump from httpRestart on a POST? --- diff --git a/src/http.cc b/src/http.cc index c188f61843..b823654637 100644 --- a/src/http.cc +++ b/src/http.cc @@ -1,6 +1,6 @@ /* - * $Id: http.cc,v 1.251 1998/03/13 05:40:46 wessels Exp $ + * $Id: http.cc,v 1.252 1998/03/13 06:37:40 wessels Exp $ * * DEBUG: section 11 Hypertext Transfer Protocol (HTTP) * AUTHOR: Harvest Derived @@ -881,6 +881,11 @@ httpRestart(HttpStateData * httpState) { /* restart a botched request from a persistent connection */ debug(11, 2) ("Retrying HTTP request for %s\n", storeUrl(httpState->entry)); + if (httpState->orig_request->method != METHOD_GET) { + debug(11, 1)("Potential Coredump: httpRestart %s %s\n", + RequestMethodStr[httpState->orig_request->method], + storeUrl(httpState->entry)); + } if (httpState->fd >= 0) { comm_remove_close_handler(httpState->fd, httpStateFree, httpState); comm_close(httpState->fd);