Welcome! Log In Create A New Profile

Advanced

Re: [ANNOUNCE] gunzip filter module 0.3

Maxim Dounin
April 17, 2010 05:42AM
Hello!

On Fri, Apr 16, 2010 at 03:14:54PM -0400, theromis1 wrote:

> my company working with ad insertion on Internet traffic. For
> that I'm trying to use nginx. Some text/html traffic goes with
> Content-encoding: gzip.
> So to parse html inside this traffic I've tried gunzip. And it
> partially works with some hacks. One of my problem was function
> ngx_http_gzip_ok which returns NGX_OK if in headers doesn't
> exists Via header, all traffic which I'm passing throw gunzip
> don't have this header.
>
> My question, is it correct to use gunzip module in my case, or
> better to try another module?
> If my decision is correct, may I send you my changes for gunzip
> to add for it functionality which my company need?

As far as I understand, you need it to gunzip data in all cases to
make sure another filter module will be able to modify response
correctly, right?

Yes, it's intended use case, though it's not implemented yet. And
you may note the following comment in gunzip filter:

/* TODO always gunzip - due to configuration or module request */

It should be trivial to support at least something like "gunzip
always;" which will gunzip all gzipped responses without checking
what ngx_http_gzip_ok() thinks about client's support for gzip.
Feel free to submit patches.

Maxim Dounin

p.s. You may want to use mailing list instead of forum-based
gateway, forum is known to do awful things with messages.

_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

[ANNOUNCE] gunzip filter module 0.3

Maxim Dounin March 22, 2010 02:28PM

Re: [ANNOUNCE] gunzip filter module 0.3

Ryan Malayter March 23, 2010 09:22AM

Re: [ANNOUNCE] gunzip filter module 0.3

Maxim Dounin March 23, 2010 09:52AM

Re: [ANNOUNCE] gunzip filter module 0.3

Ryan Malayter March 24, 2010 08:56AM

Re: [ANNOUNCE] gunzip filter module 0.3

Maxim Dounin March 24, 2010 10:26AM

Re: [ANNOUNCE] gunzip filter module 0.3

Ryan Malayter March 24, 2010 06:58PM

Re: [ANNOUNCE] gunzip filter module 0.3

Maxim Dounin March 24, 2010 07:56PM

Re: [ANNOUNCE] gunzip filter module 0.3

theromis1 April 19, 2010 02:08PM

Re: [ANNOUNCE] gunzip filter module 0.3

Maxim Dounin April 19, 2010 10:20PM

Re: [ANNOUNCE] gunzip filter module 0.3

theromis1 April 16, 2010 03:14PM

Re: [ANNOUNCE] gunzip filter module 0.3

Maxim Dounin April 17, 2010 05:42AM

Re: [ANNOUNCE] gunzip filter module 0.3

theromis1 April 27, 2010 06:30PM

Re: [ANNOUNCE] gunzip filter module 0.3

theromis1 April 20, 2010 07:00PM

Re: [ANNOUNCE] gunzip filter module 0.3

Maxim Dounin April 21, 2010 11:22PM

Re: [ANNOUNCE] gunzip filter module 0.3

theromis1 April 22, 2010 09:36PM

Re: [ANNOUNCE] gunzip filter module 0.3

theromis1 May 03, 2010 01:32PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 199
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready