httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "William A. Rowe Jr." <wr...@rowe-clan.net>
Subject Re: [users@httpd] mod_deflate and chunked encoding
Date Sun, 05 Jun 2011 19:54:11 GMT
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message