Search squid archive

RE: Custom Log

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



ons 2006-03-29 klockan 15:19 +0200 skrev Cole:
> 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?

What you did, but to this you need to add the length of the request
line. This isn't available directly, but you can calculate it by adding
the length of the request method plus the length of the requested URL.

And to this you need to add the value of the Content-Length request
header, if any, to include the size of the (optional) request entity
(data being sent to the server)

Regards
Henrik

Attachment: signature.asc
Description: Detta =?ISO-8859-1?Q?=E4r?= en digitalt signerad meddelandedel


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux