On Tue, Nov 07, 2006 at 02:38:20PM -0500, Andy Grundman
wrote:
> 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.
This bug is present with HTTP::Body < 0.06. Andy is
bumping the version
dep up as I write this. Thanks to Andy for the super-fast
turn around!
Adam
_______________________________________________
Catalyst-dev mailing list
Catalyst-dev lists.rawmode.org
http://lists.rawmode.org/mailman/listinfo/catalyst-dev
|