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

Report information
The Basics
Id:
45843
Status:
rejected
Priority:
Low/Low

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

BugTracker
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


This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.