From: wessels <> Date: Wed, 29 Mar 2000 00:41:39 +0000 (+0000) Subject: DW: X-Git-Tag: SQUID_3_0_PRE1~2046 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0421724fcfb23588769c8295c1edbfdd30599633;p=thirdparty%2Fsquid.git DW: - move headersLog call to after clientInterpretRequestHeaders so the cache control mask gets set. --- diff --git a/src/client_side.cc b/src/client_side.cc index 8ae5dd1c34..7e5fed0b42 100644 --- a/src/client_side.cc +++ b/src/client_side.cc @@ -1,6 +1,6 @@ /* - * $Id: client_side.cc,v 1.473 2000/03/25 05:00:11 wessels Exp $ + * $Id: client_side.cc,v 1.474 2000/03/28 17:41:39 wessels Exp $ * * DEBUG: section 33 Client-side Routines * AUTHOR: Duane Wessels @@ -288,6 +288,9 @@ clientRedirectDone(void *data, char *result) http->request = requestLink(new_request); } clientInterpretRequestHeaders(http); +#if HEADERS_LOG + headersLog(0, 1, request->method, request); +#endif fd_note(http->conn->fd, http->uri); clientProcessRequest(http); } @@ -2514,9 +2517,6 @@ clientReadRequest(int fd, void *data) break; } } -#if HEADERS_LOG - headersLog(0, 1, request->method, request); -#endif clientAccessCheck(http); continue; /* while offset > 0 */ } else if (parser_return_code == 0) {