Search squid archive

Re: How to get the correct size of a denied object ?

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

 



On 21/07/2015 4:40 a.m., Stakres wrote:
> Antony,
> I got this idea too, but here we "lose" (i mean it's not overwritten) the
> info in the access.log and there is no effect of realtime if you see what I
> mean...
> An alternative could to catch the TCP_DENIED with a helper but I did not
> find the way yet, i think it cannot be done this way.

You do reaize that objects have many sizes right?

... the gzip compressed size? bzip2 compressed size? chunked encoding
size? what chunk size? (overheads differ by chunk size), what IMS
response size?
 identify size? if text 8-, 16- or 32-bit characters? what language?
(variable words)

 or should you log the size of response *actually* delivered to the
client? eg. the error message.

Most of those are not known without downloading the object in full. Any
of the client headers may also cause embeded content to change. Such as
language headers changing charsets of the content.

Amos

_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users




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

  Powered by Linux