From: Eric Wong <normalperson@yhbt.net>
To: unicorn list <mongrel-unicorn@rubyforge.org>
Subject: Re: Truncated request bodies
Date: Sat, 24 Oct 2009 20:49:37 -0700 [thread overview]
Message-ID: <20091025034936.GA25264@dcvr.yhbt.net> (raw)
In-Reply-To: <20091025000435.GA4130@dcvr.yhbt.net>
Eric Wong <normalperson@yhbt.net> wrote:
>
> Does the following patch fix things for you?
>
> diff --git a/lib/unicorn/util.rb b/lib/unicorn/util.rb
> index 6b35426..0f517e9 100644
> --- a/lib/unicorn/util.rb
> +++ b/lib/unicorn/util.rb
> @@ -54,7 +54,6 @@ module Unicorn
> end
> File.unlink(fp.path)
> fp.binmode
> - fp.sync = true
> fp
> end
> ---
Actually, that may not work since I need to call IO#stat.size,
in TeeInput, and if I explicitly call IO#flush then bad things
still end up happening :/
--
Eric Wong
next prev parent reply other threads:[~2009-10-25 3:52 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 ` Truncated request bodies Vadim Spivak
2009-10-23 16:15 ` Eric Wong
2009-10-24 22:05 ` Vadim Spivak
2009-10-25 0:04 ` Eric Wong
2009-10-25 3:49 ` Eric Wong [this message]
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=20091025034936.GA25264@dcvr.yhbt.net \
--to=normalperson@yhbt.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).