Skip Menu |

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

Report information
The Basics
Id: 62727
Status: resolved
Priority: 0/
Queue: Catalyst-Runtime

People
Owner: Nobody in particular
Requestors: mar.kolya [...] gmail.com
Cc:
AdminCc:

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



Subject: Catalyst::Engine::FastCGI holds conenction too long
Is seems that Catalyst::Engine::FastCGI has a following problem: it holds connection (and client) until $request->Accept is called. This means that client is still connected after finalize. This makes plugins like Catalyst::Plugin::RunAfterRequest useless with FastCGI. Attaching patch to fix the problem. Thanks.
Subject: patch
Download patch
application/octet-stream 847b

Message body not shown because it is not plain text.

Hi This is fixed in the 5.90 version of Catalyst. We now use plack instead of our own engine, and we explicitly close the plack writer in finalize, so ::RunAfterRequest will only run once FCGI has been told the request is over.