Should requests that are denied due to http_reply_access be logged
with TCP_DENIED, the HIT/MISS/etc code, or something altogether new?


Index: client_side.c
===================================================================
RCS file: /squid/squid/src/client_side.c,v
retrieving revision 1.561.2.36
diff -u -3 -p -w -u -r1.561.2.36 client_side.c
--- client_side.c       24 May 2003 11:08:41 -0000      1.561.2.36
+++ client_side.c       10 Jun 2003 00:29:20 -0000
@@ -1986,6 +1986,7 @@ clientSendMoreData(void *data, char *buf
                    null_request_flags);
                errorAppendEntry(http->entry, err);
                httpReplyDestroy(rep);
+               http->log_type = LOG_TCP_DENIED;
                return;
            }
        } else if (size < CLIENT_SOCK_SZ && entry->store_status == STORE_PENDING) {

Reply via email to