On Thu, 20 Apr 2000, Roger Espel Llima wrote:
 
> POSTing to this handler hangs Apache, unless the content is extremely
> short.  A strace shows that it's stuck read()ing from the client socket.
> 
> I've looked with gdb, and it looks like ap_die calls
> ap_discard_request_body, which calls ap_setup_client_block, which
> re-reads r->remaining from the Content-length header.

right.
 
> As a work-around, I've added a
> 
>   $r->header_in("Content-length", 0);
> 
> just before returning NOT_FOUND, and it seems to work.  But this doesn't
> look like a clean solution to me.  Maybe ap_setup_client_block should
> silently return OK if it gets called more than once in a request...

maybe not, you might want to raise the issue on [EMAIL PROTECTED]  in
any case, the chance of 1.3.13 being release any time in the near future
is slim, so you'll need to stick with your workaround.

Reply via email to