Google Groups Home
Help | Sign in
Thin header size limit
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all
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
John Repko  
View profile
 More options May 7, 4:13 pm
From: John Repko <jkre...@gmail.com>
Date: Wed, 7 May 2008 13:13:44 -0700 (PDT)
Local: Wed, May 7 2008 4:13 pm
Subject: Thin header size limit
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?


    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.
Kevin Williams  
View profile
 More options May 7, 4:57 pm
From: "Kevin Williams" <kev...@gmail.com>
Date: Wed, 7 May 2008 14:57:26 -0600
Local: Wed, May 7 2008 4:57 pm
Subject: Re: Thin header size limit
Thin should be no more or less strict than Mongrel. Does this work with Mongrel?

--
Cheers,

Kevin Williams
http://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.
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:


    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.
End of messages
« Back to Discussions « Newer topic     Older topic »

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