On Wed, Oct 3, 2012 at 2:06 PM, Evgeny Shvidky <evg...@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.