Dmitry Beransky wrote:
> Hmm, I don't think I ever mentioned that ASP post-POST redirects just all 
> of a sudden stopped working for me.  A browser would send a POST request 
> and never get anything back.  The logs showed that the request was 
> processed to the point of $Response->Redirect, but nothing would ever come 
> out from the other side.  The server was simply closing the connection 
> without sending any data back to the client.  I did find a hack that made 
> redirects work by replacing ASP's Redirect with the following lines:

I don't know a thing about Apache::Redirect, but I've had this same
problem before: a handler returning REDIRECT after reading POST data
would freeze the apache process (it got stuck trying to read the data
again).

The work-around I used is to set $r->header_in("Content-length", 0) just
after reading the POST data.  Then, if some cleanup function in apache
tries to read it again, it finds that there is none to read.

-- 
Roger Espel Llima, [EMAIL PROTECTED]
http://www.iagora.com/~espel/index.html

Reply via email to