List Info

Thread: Catalyst trouble with request body >4096




Catalyst trouble with request body >4096
user name
2006-11-07 19:38:20
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.

_______________________________________________
Catalyst-dev mailing list
Catalyst-devlists.rawmode.org
http://lists.rawmode.org/mailman/listinfo/catalyst-dev

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )