On 24.07.2012 05:11, Panchal Suman wrote:
Hello All,
How to get the number of packets that are in squid buffer when user
is downloading a large file via the squid proxy?
Somewhere between 0 bytes and read_ahead_gap. Normally there are none
at all. Why do you need to know?
The active_requests cache manager report lists a line
"out.offset 16443, out.size 12705"
out.size have been delivered, out.offset is where the receive side is
up to presently.
So (out.offset - out.size) is the bytes currently buffered in transit
through Squid.
Amos