Re: Chunked + Gzip

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Nick,

Thanks for the response.  Pipelining of deflate and chunking filters is
exactly what I am seeing Apache perform -- just didn't know what to call
it.  To rephrase the question, does the HTTP 1.1 RFC address how to
handle the layering of a chunked transfer encoding on top of a gzip
content encoding?

I guess I am hung up on the legacy of mod_gzip, which forced dynamically
generated data to be dechunked before gzipped. Perhaps an implementation
limitation, I assumed that this was a matter of protocol than anything
else.  Sounds like I am mistaken about that.

Best,

Mike

PS - I agree that PHP doesn't concern itself with chunking, but it can
influence the web server in this regard.  By flush()ing PHP's output
buffers, it "tries to push all the output so far to the user's
browser."  Depending on the web server and web server buffing scheme, it
may result (does in Apache + mod_php) in the web server packaging up a
chunk and firing it off.

Nick Kew wrote:
On Sat, 13 Sep 2008 15:53:10 +0100
Nick Kew <nick@xxxxxxxxxxxx> wrote:

On Sat, 13 Sep 2008 11:02:11 -0300
Michael Caplan <michael@xxxxxxxxxxx> wrote:

 1. the gzip content encoding happens on the entire body before it
is chunked.
 2. the ungzipping happens on the entire body after it is dechunked.
Exactly.

Oops, I think I misread your question.  Specifically, those "entire
body" references.  Nope, both the deflate and chunking filters
pipeline their data.





---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux