Klaus Demo nginx / d66f8ae
Merging r4189, r4197: Perl related fixes: *) Handling of Content-Encoding set from perl. This fixes double gzipping in case of gzip filter being enabled while perl returns already gzipped response. *) Fixed macro name. Igor Sysoev 8 years ago
1 changed file(s) with 8 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
473473 r->headers_out.content_length = header;
474474 }
475475
476 if (header->key.len == sizeof("Content-Encoding") - 1
477 && ngx_strncasecmp(header->key.data, "Content-Encoding",
478 sizeof("Content-Encoding") - 1) == 0)
479 {
480 r->headers_out.content_encoding = header;
481 }
482
476483
477484 void
478485 filename(r)
835842 var.len = len;
836843 var.data = lowcase;
837844
838 #if (NGX_LOG_DEBUG)
845 #if (NGX_DEBUG)
839846
840847 if (value) {
841848 ngx_log_debug2(NGX_LOG_DEBUG_HTTP, r->connection->log, 0,