httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben Noordhuis <i...@bnoordhuis.nl>
Subject Re: RPC over HTTP
Date Wed, 03 Oct 2012 12:48:40 GMT
On Wed, Oct 3, 2012 at 2:06 PM, Evgeny Shvidky <evgeny@skyfence.com> 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 fail.

Mime
View raw message