Re: mod_deflate and chunked encoding

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

 



On 6/5/2011 2:15 PM, Xavier Noria wrote:
> 
> Ah, interesting.
> 
> Phusion Passenger is an Apache module itself:
> 
>     http://www.modrails.com/
> 
> Passenger is the most used solution for production deployments in Ruby
> on Rails nowadays.
> 
> So I understand from your reply that httpd is the only one resposible
> for chunked responses, compressed or otherwise. Is that correct?

Thanks for the info.  You are sort-of correct.  The backend can possibly
optimize things by using chunked httpd as its own transport.

> So a module like Passenger is expected to dechunk and pass the body
> to httpd? As of this writing chunked responses are passing through
> Apache if compression is not involved. Guess that works by luck, but
> it is still not playing by the rules?

Exactly.  I's put is as Passanger is expected to dechunk and pass the
body *through* httpd.

Try using mod_substitute/mod_sed on that response :)

> If whether the response has to be streamed or not is decided by the
> application, which is the proper way to force httpd to stream, and
> eventually also compress?

Exactly.

---------------------------------------------------------------------
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