[Mongrel] clients hang on large PUTs to Mongrel::HttpHandler-based web service

Michael D'Auria michael.dauria at gmail.com
Tue Jun 3 20:30:52 EDT 2008

Are you sure this is an issue with the size of the input and not the amount
of time that the connection is left open?


On Tue, Jun 3, 2008 at 8:16 PM, Zed A. Shaw <zedshaw at zedshaw.com> wrote:

> On Tue, 3 Jun 2008 17:09:05 -0400
> "Randy Fischer" <rf at ufl.edu> wrote:
> > Hi folks,
> >
> > I'm wondering if this is a simple 32-bit int issue in the ragel-generated
> > code?
> Shouldn't be, since the ragel code is only used to parse the headers,
> and when that's done it then just streams 16k chunks from the socket to
> a tempfile.  Now, if your headers are 4G then I'd like to know how you
> did that since Mongrel would block you hard.
> Only thing that I could think of is that you aren't setting a size
> properly at some point.  Either your header reports the wrong size, or
> you're not setting it.
> --
> Zed A. Shaw
> - Hate: http://savingtheinternetwithhate.com/
> - Good: http://www.zedshaw.com/
> - Evil: http://yearofevil.com/
> _______________________________________________
> Mongrel-users mailing list
> Mongrel-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/mongrel-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/mongrel-users/attachments/20080603/8bb9639a/attachment.html>

More information about the Mongrel-users mailing list