~ubuntu-branches/ubuntu/jaunty/nginx/jaunty-updates

« back to all changes in this revision

Viewing changes to src/http/modules/ngx_http_gzip_filter_module.c

  • Committer: Bazaar Package Importer
  • Author(s): Jose Parrella
  • Date: 2007-12-08 11:27:54 UTC
  • mfrom: (1.1.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20071208112754-23ohg2b1zshkdayw
Tags: 0.5.33-1
* New stable upstream release (Closes: #451173)
* nginx now provides httpd, httpd-cgi virtual packages
  (Closes: #439468, #452025)
* sites-enabled/default link is now provided only on fresh 
  installations (Closes: #432961)
* Updated code for online upgrading of nginx (Closes: #445246)
* Reviewed maintainer scripts for correct behaviour on updates
  (Closes: #452787, #435965)
* Removed debian/nginx.links and debian/preinst.
* Changing Maintainer address to bureado@debian.org.
* Welcoming Fabio Tranchitella <kobold@debian.org> as an nginx 
  uploader for Debian. Thanks for your patches.

Show diffs side-by-side

added added

removed removed

Lines of Context:
279
279
        || r->headers_in.accept_encoding == NULL
280
280
        || (r->headers_out.content_length_n != -1
281
281
            && r->headers_out.content_length_n < conf->min_length)
282
 
        || ngx_strstr(r->headers_in.accept_encoding->value.data, "gzip") == NULL
 
282
        || ngx_strcasestrn(r->headers_in.accept_encoding->value.data,
 
283
                           "gzip", 4 - 1)
 
284
           == NULL
283
285
       )
284
286
    {
285
287
        return ngx_http_next_header_filter(r);