]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
DW:
authorwessels <>
Wed, 29 Mar 2000 00:41:39 +0000 (00:41 +0000)
committerwessels <>
Wed, 29 Mar 2000 00:41:39 +0000 (00:41 +0000)
 - move headersLog call to after clientInterpretRequestHeaders so
   the cache control mask gets set.

src/client_side.cc

index 8ae5dd1c34b7386c7a601f3c29e26f4edb78c79c..7e5fed0b423618e78df5b7f94ad7294b650486fe 100644 (file)
@@ -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) {