unicorn Ruby/Rack server user+dev discussion/patches/pulls/bugs/help
 help / color / mirror / code / Atom feed
From: Vadim Spivak <vadim@spivak.net>
To: mongrel-unicorn <mongrel-unicorn@rubyforge.org>
Subject: Truncated request bodies
Date: Fri, 23 Oct 2009 07:38:27 -0700	[thread overview]
Message-ID: <d779a0c60910230738q72065211qb4462bf0d86b768d@mail.gmail.com> (raw)
In-Reply-To: <d779a0c60910230001r5f7ecea3l4904d48a08d2130f@mail.gmail.com>

There seems to be a ruby bug in 1.8.7 on OS X that's causing request
bodies to be truncated in unicorn when they're bigger than the
MAX_BODY (backed by a temp file instead of stringio).

Example of truncation: http://gist.github.com/211431

Smaller ruby bug example: http://gist.github.com/216703

I couldn't reproduce this on 1.9.1 on OS X or 1.8.7 on Linux.

Thanks,
Vadim

       reply	other threads:[~2009-10-23 14:38 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <d779a0c60910230001r5f7ecea3l4904d48a08d2130f@mail.gmail.com>
2009-10-23 14:38 ` Vadim Spivak [this message]
2009-10-23 16:15   ` Truncated request bodies Eric Wong
2009-10-24 22:05   ` Vadim Spivak
2009-10-25  0:04     ` Eric Wong
2009-10-25  3:49       ` Eric Wong
2009-10-25 21:31         ` Eric Wong
2009-10-27  2:48           ` Vadim Spivak

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=d779a0c60910230738q72065211qb4462bf0d86b768d@mail.gmail.com \
    --to=vadim@spivak.net \
    --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).