On Tue, Jun 3, 2008 at 8:16 PM, Zed A. Shaw <[EMAIL PROTECTED]> wrote:
> On Tue, 3 Jun 2008 17:09:05 -0400
> "Randy Fischer" <[EMAIL PROTECTED]> wrote:
>>
>> 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.

Naw, it's the content length in the body of a PUT,  I ask since I saw

   int content_length

in http11_parser.c

> 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.

Easily double checked with tcpdump, and the curl dump headers stuff.
And so I will - thanks for the suggestion.

-Randy
_______________________________________________
Mongrel-users mailing list
Mongrel-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/mongrel-users

Reply via email to