comparison src/http/modules/ngx_http_rewrite_module.c @ 641:5e8fb59c18c1 release-0.3.42

nginx-0.3.42-RELEASE import *) Feature: the "bind" option of the "listen" directive in IMAP/POP3 proxy. *) Bugfix: if the same capture in the "rewrite" directive was used more then once. *) Bugfix: the $sent_http_content_type, $sent_http_content_length, $sent_http_last_modified, $sent_http_connection, $sent_http_keep_alive, and $sent_http_transfer_encoding variables were not written to access log. *) Bugfix: the $sent_http_cache_control returned value of the single "Cache-Control" response header line.
author Igor Sysoev <igor@sysoev.ru>
date Wed, 26 Apr 2006 09:52:47 +0000
parents e60fe4cf1d4e
children 6d5c1535bb9d
comparison
equal deleted inserted replaced
640:5fd31c2fe4a8 641:5e8fb59c18c1
393 393
394 regex->ncaptures = sc.ncaptures; 394 regex->ncaptures = sc.ncaptures;
395 regex->size = sc.size; 395 regex->size = sc.size;
396 regex->args = sc.args; 396 regex->args = sc.args;
397 397
398 if (sc.variables == 0) { 398 if (sc.variables == 0 && !sc.dup_capture) {
399 regex->lengths = NULL; 399 regex->lengths = NULL;
400 } 400 }
401 401
402 n = ngx_regex_capture_count(regex->regex); 402 n = ngx_regex_capture_count(regex->regex);
403 403