unicorn Ruby/Rack server user+dev discussion/patches/pulls/bugs/help
 help / color / mirror / code / Atom feed
From: Eric Wong <normalperson@yhbt.net>
To: Chris Wanstrath <chris@ozmm.org>
Cc: mongrel-unicorn@rubyforge.org
Subject: Re: POST Body Truncated
Date: Tue, 6 Oct 2009 14:22:04 -0700	[thread overview]
Message-ID: <20091006212204.GA13411@dcvr.yhbt.net> (raw)
In-Reply-To: <8b73aaca0910061413y51145254s8def0904080562a5@mail.gmail.com>

Chris Wanstrath <chris@ozmm.org> wrote:
> Hello list,
> 
> I'm running into an issue where POST bodies are truncated by the time
> they hit Rails. It occurs with both TCP and UDS (both behind nginx).
> 
> This problem does not happen when I'm running TCP Thin behind nginx.
> 
> I have Unicorn 0.93.1 installed. I've tried tweaking the rcvbuf
> setting but it seems to do nothing.
> 
> Any ideas? Thanks!

This is not good :x

It could be a bug in the relatively new TeeInput class.  How large are
the POST bodies that are getting truncated?  Which version of Rails is
this and which middleware(s), if any, are you running?  I'd like to get
to the bottom of this ASAP, thanks!

-- 
Eric Wong

  reply	other threads:[~2009-10-06 21:27 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-06 21:13 POST Body Truncated Chris Wanstrath
2009-10-06 21:22 ` Eric Wong [this message]
2009-10-06 21:26   ` Chris Wanstrath
2009-10-06 21:30     ` Eric Wong
2009-10-06 21:46       ` Chris Wanstrath
2009-10-06 21:50         ` Eric Wong
2009-10-06 21:58           ` Chris Wanstrath
2009-10-06 22:32             ` Eric Wong
2009-10-06 22:52               ` Eric Wong
2009-10-06 22:57                 ` Chris Wanstrath
2009-10-07  3:04                   ` Eric Wong

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://yhbt.net/unicorn/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20091006212204.GA13411@dcvr.yhbt.net \
    --to=normalperson@yhbt.net \
    --cc=chris@ozmm.org \
    --cc=mongrel-unicorn@rubyforge.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://yhbt.net/unicorn.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).