httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Evgeny Shvidky <>
Subject RE: RPC over HTTP
Date Wed, 03 Oct 2012 12:57:37 GMT
The first RPC message is 104 bytes length and I pass this size to ap_get_client_block() function.

-----Original Message-----
From: Ben Noordhuis [] 
Sent: Wednesday, October 03, 2012 2:49 PM
Subject: Re: RPC over HTTP

On Wed, Oct 3, 2012 at 2:06 PM, Evgeny Shvidky <> wrote:
> Hi,
> ap_setup_client_block() returns OK.
> I think the problem is that "Content-Length" header value is 1073741824 (1 GB) and probably
apache tries to receive the whole content before it passed to my module.
> Am I right?
> If yes, is there any way to tell apache to send all received data till now?

ap_get_client_block() tries to read up to the number of bytes you requested. Now, if you passed
in the value of the Content-Length header, then it will either stall for a long time or simply

View raw message