From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on dcvr.yhbt.net X-Spam-Level: * X-Spam-ASN: AS33070 50.56.128.0/17 X-Spam-Status: No, score=1.3 required=3.0 tests=MSGID_FROM_MTA_HEADER, RDNS_NONE shortcircuit=no autolearn=no version=3.3.2 Path: news.gmane.org!not-for-mail From: Claudio Poli Newsgroups: gmane.comp.lang.ruby.rainbows.general Subject: Re: Transfer encoding chunked disables HAProxy gzip compression Date: Fri, 2 Aug 2013 23:49:10 +0200 Message-ID: References: <9C3CB455-F4F3-4DF4-BF67-1801547FE1B7@gmail.com> <20130802204647.GA7479@dcvr.yhbt.net> <20130802210004.GB9486@dcvr.yhbt.net> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 6.5 \(1508\)) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1375482013 18802 80.91.229.3 (2 Aug 2013 22:20:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 2 Aug 2013 22:20:13 +0000 (UTC) To: Rainbows! list Original-X-From: rainbows-talk-bounces-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org Sat Aug 03 00:20:16 2013 Return-path: Envelope-to: gclrrg-rainbows-talk@m.gmane.org X-Original-To: rainbows-talk-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org Delivered-To: rainbows-talk-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=sender:content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer :x-gm-message-state; bh=1+uqxoeAy2lY7xZN9n+5Z+e6D2q/CsHnacmKry4gA0k=; b=FK0eZ6aS2k5PGD0gLJTYaHSIx8DqWsLPFDDo1UP/b1Ng1+SIGaUl6uNEsnHzFtgj/I j39LKuCyeEx6LbEwSdTpLxrA7IZpFDScekDbZVUE3m+mz+tVF8XPdt8WK2KnwAWG8KZ9 tFZLFItdKbtA65Rus51Iyn74M7bZ645CVLE15XpR6g4zT2iqti6OjBZzYx8eLsOZdkgh 2jAZd1PV8MtNSPQzOTY5lXc6h9tCzqbZrxi+Lf12DikuIucDX2Wp741ruOMF09lXWimz lPhzePpVlS353v1TzsWHMn8UYm3I0o3g9OxZD1tvm86wfNxwZx4JG4gn/87SIWwst6Tl uI+Q== X-Received: by 10.15.23.73 with SMTP id g49mr7412799eeu.8.1375480153378; Fri, 02 Aug 2013 14:49:13 -0700 (PDT) In-Reply-To: <20130802210004.GB9486-yBiyF41qdooeIZ0/mPfg9Q@public.gmane.org> X-Mailer: Apple Mail (2.1508) X-Gm-Message-State: ALoCoQmvLAcUczfuSIUsI3zbylQKXIe/yxz0YMC2omfN7omaZ5fhz1JBl9jwYZdZ6YMkkYLBuY7A X-BeenThere: rainbows-talk-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: rainbows-talk-bounces-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org Errors-To: rainbows-talk-bounces-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org X-Broken-Reverse-DNS: no host name found for IP address 50.56.192.79 Xref: news.gmane.org gmane.comp.lang.ruby.rainbows.general:502 Archived-At: Received: from [50.56.192.79] (helo=rubyforge.org) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1V5Nhm-0008BJ-DE for gclrrg-rainbows-talk@m.gmane.org; Sat, 03 Aug 2013 00:20:14 +0200 Received: from localhost.localdomain (localhost [127.0.0.1]) by rubyforge.org (Postfix) with ESMTP id 72EA02E1DA; Fri, 2 Aug 2013 22:20:14 +0000 (UTC) Received: from mail-ea0-f180.google.com (mail-ea0-f180.google.com [209.85.215.180]) by rubyforge.org (Postfix) with ESMTP id D772B2E1DA for ; Fri, 2 Aug 2013 21:49:15 +0000 (UTC) Received: by mail-ea0-f180.google.com with SMTP id h10so563147eaj.25 for ; Fri, 02 Aug 2013 14:49:13 -0700 (PDT) Received: from [172.20.10.3] (adsl-ull-66-200.46-151.net24.it. [151.46.200.66]) by mx.google.com with ESMTPSA id n42sm15088679eeh.15.2013.08.02.14.49.11 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 02 Aug 2013 14:49:12 -0700 (PDT) Someone left another deflater in code, I removed it and I'm going to deploy. Will keep you up to date, thanks. On 02/ago/2013, at 23:00, Eric Wong wrote: > Eric Wong wrote: >> Claudio Poli wrote: >>> I would like to add that if I insert Rack::Deflater now every response >>> does not contain nor content-length or transfer-encoding chunked. >>> Rails 3.2.14. >> >> You probably need to add Rack::Chunked/ContentLength back into your >> middleware stack outside of Rack::Deflater. > > To clarify, your config.ru (using -N) should probably be ordered > like this: > > Rack::ContentLength # for HTTP/1.0 users > Rack::Chunked > Rack::Deflater > ... > YourApp > _______________________________________________ > Rainbows! mailing list - rainbows-talk-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org > http://rubyforge.org/mailman/listinfo/rainbows-talk > Do not quote signatures (like this one) or top post when replying _______________________________________________ Rainbows! mailing list - rainbows-talk-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org http://rubyforge.org/mailman/listinfo/rainbows-talk Do not quote signatures (like this one) or top post when replying