[Catalyst-dev] Catalyst trouble with request body >4096

Andy Grundman andy at hybridized.org
Tue Nov 7 19:38:20 GMT 2006


Adam Jacob wrote:
> It appears that Catalyst has some trouble with reading a request body
> that's >4096.  It apparently will populate the request body twice,
> causing some pretty strange behavior if you are processing large body's.  
> 
> A test case is attached.  It just takes a string that begins with three
> "---"s, followed by enough a's to get the length high enough.  It then
> POSTs that data to Catalyst, and the method it's dispatched to will
> simply print the request body as the response body.
> 
> When the length is <4096, you will only see one instance of ---.  When
> the length is >4096, you'll see two.

If this is correct it's a pretty serious bug.  I will look into it a bit 
later this evening.



More information about the Catalyst-dev mailing list