http_reply_access and TCP_DENIED

From: Duane Wessels <wessels@dont-contact.us>
Date: Mon, 9 Jun 2003 18:32:11 -0600 (MDT)

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) {
Received on Mon Jun 09 2003 - 18:32:14 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:20:07 MST