return value for response handler

2008-06-10 Thread John ORourke
Hi folks, I had a bug with an interesting side effect which I want to understand. I wanted to redirect the user's browser, and in my response handler I was setting $r-status(302) but returning Apache2::Const::OK instead of the correct Apache2::Const::DONE. This caused Apache to perform an

Re: return value for response handler

2008-06-10 Thread Torsten Foertsch
On Tue 10 Jun 2008, John ORourke wrote: I had a bug with an interesting side effect which I want to understand. I wanted to redirect the user's browser, and in my response handler I was setting $r-status(302) but returning Apache2::Const::OK instead of the correct Apache2::Const::DONE. This