Hi.

So if i were to implement the LFT_REQUEST_SIZE_TOTAL for my own logs. What 
datastructure could I use
to get the entire request size?

Regards
/Cole 

-----Original Message-----
From: Henrik Nordstrom [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 29, 2006 1:24 PM
To: [EMAIL PROTECTED]
Cc: 'Squid Users'
Subject: RE: [squid-users] Custom Log

tor 2006-03-23 klockan 09:03 +0200 skrev Cole:
> Hi.
> 
> Apparently it seems im looking for the wrong thing then maybe. What I would 
> like to log is the
> request from the client, the entire size in its totality.
> The entire request from beginning to end,
> the entire size of all packets together that would go into a normal request 
> to squid for each
> access.log line.

Which usually is no more than the request line + request headers, and
the only size variable (for the same client) is the length of the URL in
the request line..

Exceptions:
- Cookies, adds the the size of the request header
- PUT/POST or other requests with request-entities. The size of the
request entity is determined by the Content-Length request header.

Squid does not see packets. Squid sees a stream of data formatted per
the HTTP protocol specification, usually carried over TCP.

Regards
Henrik

Reply via email to