perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Malcolm J Harwood <mjhlist-modp...@liminalflux.net>
Subject bytes_received?
Date Thu, 09 Dec 2004 15:41:56 GMT

Is there an equivalent of Apache::RequestRec::bytes_sent for the size of the 
incoming request? (I have a situation where I need to log the size of the 
data transfer each way to a db). I've searched through the docs (and google) 
and not found anything.

The closest I've found to getting this is "length $r->as_string;" which is 
ugly and likely very inefficient. Is there a better way?

-- 
"Your only obligation in any lifetime is to be true to yourself.
 Being true to anyone else or anything else is ... impossible."
- Richard Bach

-- 
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