Google Groups Home
Help | Sign in
Message from discussion Thin header size limit
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
macournoyer  
View profile
 More options May 8, 9:34 am
From: macournoyer <macourno...@gmail.com>
Date: Thu, 8 May 2008 06:34:49 -0700 (PDT)
Local: Thurs, May 8 2008 9:34 am
Subject: Re: Thin header size limit
hey John,

The header size limit is 112K. If your request was rejected because
the header was too big you'd get: "Header longer than allowed" as an
error message.

Maybe one of the header field name (256 bytes) or value (80K) is too
big. The max length are defined here:
http://github.com/macournoyer/thin/tree/9ae43ca7aabfac13528cb1b58fdc9...

You can get the raw request by running thin w/ the -V option. Paste it
here, maybe I can help out!

On May 7, 4:57 pm, "Kevin Williams" <kev...@gmail.com> wrote:

> Thin should be no more or less strict than Mongrel. Does this work with Mongrel?

> On Wed, May 7, 2008 at 2:13 PM, John Repko <jkre...@gmail.com> wrote:

> >  I'm using a trio of thins as the back end to an application with nginx
> >  as the front end.  In the current operation of the application we
> >  perform GET and POST operations with large http headers.    The nginx
> >  default header size is 4KB, but this is resettable through the
> >  large_client_header_buffers directive, where 64KB seems to be the
> >  limit.

> >  I have nginx on the front end set to the 64K max.   When passing data
> >  back to thin, I get an

> >  !! Invalid request

> >  error.    It appears that the max http header size is set in thin to
> >  8KB (as I get the error when I exceed this size).   Is this correct,
> >  and is there any way to set the max header size to be larger?

> --
> Cheers,

> Kevin Williamshttp://bantamtech.com/http://almostserio.us/http://kevwil.com/


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google