The main problem is that incoming data (response from external sources) comes to defined filter in chunks. For example for google.com there are 4 chunks, means 4 calls of sub defined in
$proxy->push_filter(response => ...And $$buffer value seems desapearing in last (always 0-sized) chunk.
p.s. Thanks for great component :)
Broken code tag repaired by davido.
In reply to Re^2: HTTP::Proxy traffic calculating
by b888
in thread HTTP::Proxy traffic calculating
by b888
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |