Skip Menu |

This queue is for tickets about the Catalyst-Engine-Apache CPAN distribution.

Report information
The Basics
Id: 45843
Status: rejected
Priority: 0/
Queue: Catalyst-Engine-Apache

People
Owner: Nobody in particular
Requestors: ARODLAND [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: (no value)
Fixed in: (no value)



Subject: finalize doesn't know about DECLINED requests
The Catalyst::Engine::Apache docs show how to decline a request and pass it on to the next handler by setting $c->engine->return; unfortunately Engine::Apache doesn't know anything about this. Unless you do an endrun around finalize in your app, Engine::Apache will print output and send back headers even on a declined request. Apparently, printing output makes apache unhappy. I'm not 100% clear what the best solution is, but I'd suggest having finalize call finalize_uploads and nothing else, if $c->engine->return is Apache::Constants::DECLINED or Apache2::Const::DECLINED (as appropriate). Maybe some of the other ones as well -- I'll admit that I'm not a mod_perl whiz, I'm just submitting on behalf of someone who came by #catalyst with a problem. Nonetheless if you'd like more info or if IRC logs would help, you're welcome to contact me.
On Fri May 08 04:32:23 2009, ARODLAND wrote: Show quoted text
> The Catalyst::Engine::Apache docs show how to decline a request and pass > it on to the next handler by setting $c->engine->return; unfortunately > Engine::Apache doesn't know anything about this. Unless you do an endrun > around finalize in your app, Engine::Apache will print output and send > back headers even on a declined request. Apparently, printing output > makes apache unhappy. > > I'm not 100% clear what the best solution is, but I'd suggest having > finalize call finalize_uploads and nothing else, if $c->engine->return > is Apache::Constants::DECLINED or Apache2::Const::DECLINED (as > appropriate). Maybe some of the other ones as well -- I'll admit that > I'm not a mod_perl whiz, I'm just submitting on behalf of someone who > came by #catalyst with a problem. Nonetheless if you'd like more info or > if IRC logs would help, you're welcome to contact me.
Marking as rejected as this module is basically unmaintained since Catalyst became based on PSGI