$message is a HTTP::Response object when your filter is a response filter, so you can access the request via $message->request(). This should let you compute your stats in the response filter.
Please note that HTTP::Proxy does currently behave well with large request bodies: it loads the whole request body in memory before processing and sending it to the next hop. This is more than often okay, except when you upload very laaaarge files.
In reply to Re: HTTP::Proxy traffic calculating
by BooK
in thread HTTP::Proxy traffic calculating
by b888
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |