perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stas Bekman <s...@stason.org>
Subject Re: bytes_received?
Date Thu, 09 Dec 2004 21:27:45 GMT
[...]
> I think what Malcolm is after is the size of the initial request, message
> body, headers, and all, which there just doesn't seem to be an easy way to
> get to.
[...]
> you might be able to glean the size from a combination of $r->the_request,
> $r->headers_in, and $r->content_length.

I see. That should be relatively use to calculate with modperl2's input 
connection filter (not w/o a small overhead of course):
http://perl.apache.org/docs/2.0/user/handlers/filters.html#Connection_Input_Filters

-- 
__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

-- 
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html


Mime
View raw message