From: Claudio Poli <claudio-3HQ/CcOImoi171pxa8y+qA@public.gmane.org>
To: Rainbows! list <rainbows-talk-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org>
Subject: Re: Transfer encoding chunked disables HAProxy gzip compression
Date: Fri, 2 Aug 2013 23:49:10 +0200
Message-ID: <AEA4BA5D-8159-446D-81CC-AB56CCC22EE1@gmail.com> (raw)
In-Reply-To: <20130802210004.GB9486-yBiyF41qdooeIZ0/mPfg9Q@public.gmane.org>
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 <normalperson-rMlxZR9MS24@public.gmane.org> wrote:
> Eric Wong <normalperson-rMlxZR9MS24@public.gmane.org> wrote:
>> Claudio Poli <claudio-3HQ/CcOImoi171pxa8y+qA@public.gmane.org> 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
next prev parent reply index
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-02 19:26 Claudio Poli
[not found] ` <CD8781D3-288B-4B61-85ED-16B8B15A90E9-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2013-08-02 20:03 ` Claudio Poli
[not found] ` <9C3CB455-F4F3-4DF4-BF67-1801547FE1B7-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2013-08-02 20:46 ` Eric Wong
[not found] ` <20130802204647.GA7479-yBiyF41qdooeIZ0/mPfg9Q@public.gmane.org>
2013-08-02 21:00 ` Eric Wong
[not found] ` <20130802210004.GB9486-yBiyF41qdooeIZ0/mPfg9Q@public.gmane.org>
2013-08-02 21:35 ` Claudio Poli
2013-08-02 21:49 ` Claudio Poli [this message]
2013-08-02 20:58 ` Eric Wong
[not found] ` <20130802205810.GA9486-yBiyF41qdooeIZ0/mPfg9Q@public.gmane.org>
2013-08-02 22:34 ` Claudio Poli
[not found] ` <FE4BFDCF-538B-4D2D-8991-FE0047DF52AA-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2013-08-02 23:11 ` Eric Wong
[not found] ` <20130802231115.GA24708-yBiyF41qdooeIZ0/mPfg9Q@public.gmane.org>
2013-08-03 0:20 ` Claudio Poli
[not found] ` <E85CF5AB-7FF6-4BE8-BAAC-5416E14D4A14-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2013-08-03 1:06 ` Eric Wong
[not found] ` <20130803010627.GA4521-yBiyF41qdooeIZ0/mPfg9Q@public.gmane.org>
2013-08-03 1:53 ` Claudio Poli
[not found] ` <9580D763-16FA-4DB5-8CA7-0648DD6788CD-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2013-08-03 2:30 ` Eric Wong
Reply instructions:
You may reply publically 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: http://bogomips.org/rainbows/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=AEA4BA5D-8159-446D-81CC-AB56CCC22EE1@gmail.com \
--to=claudio-3hq/ccoimoi171pxa8y+qa@public.gmane.org \
--cc=rainbows-talk-GrnCvJ7WPxnNLxjTenLetw@public.gmane.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
Rainbows! Rack HTTP server user/dev discussion
Archives are clonable:
git clone --mirror http://bogomips.org/rainbows-public
git clone --mirror http://ou63pmih66umazou.onion/rainbows-public
Example config snippet for mirrors
Newsgroups are available over NNTP:
nntp://news.public-inbox.org/inbox.comp.lang.ruby.rainbows
nntp://ou63pmih66umazou.onion/inbox.comp.lang.ruby.rainbows
note: .onion URLs require Tor: https://www.torproject.org/
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git