[Catalyst-dev] bug exposed in the built in server

Andy Grundman andy at hybridized.org
Wed Mar 28 03:21:55 GMT 2007


On Mar 27, 2007, at 8:41 PM, Kieren Diment wrote:

> Here's a simple test case where the built in server hangs after a  
> post request.  This doesn't happen under Catalyst::Test  
> (serverless) or with a lighttpd deployment.  It doesn't matter if  
> it's in the root controller or elsewhere.
>
> Please see the README file in the tarball for what to do.
>
> Replicated on OSX 10.4.9 and Debian Testing with catalyst 5.7007  
> and using Catalyst-Runtime svn trunk rev 6218
> <Wwg.tar.gz>

So after looking at this, the issue is the use of CGI.pm in the  
show.tt template.  It tries to read from STDIN after we've already  
read from it, and therefore blocks.  I'm not sure of the best way to  
work around this, but would suggest just removing the use of CGI.



More information about the Catalyst-dev mailing list