Re: bytes_received?

[prev] [thread] [next] [Date index for 2004/12/09]

From: Geoffrey Young
Subject: Re: bytes_received?
Date: 21:28 on 09 Dec 2004

Stas Bekman wrote:
> [...]
> 
>> 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

yup... if he's running mp2 :)

--Geoff

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

bytes_received?
Malcolm J Harwood 15:41 on 09 Dec 2004

Re: bytes_received?
Stas Bekman 19:46 on 09 Dec 2004

Re: bytes_received?
Geoffrey Young 21:21 on 09 Dec 2004

Re: bytes_received?
Stas Bekman 21:27 on 09 Dec 2004

Re: bytes_received?
Geoffrey Young 21:28 on 09 Dec 2004

Re: bytes_received?
Malcolm J Harwood 23:01 on 09 Dec 2004

Re: bytes_received?
Stas Bekman 23:51 on 09 Dec 2004

Generated at 11:26 on 21 Dec 2004 by mariachi v0.52