comparison src/core/ngx_hash.c @ 446:15a022ee809b NGINX_0_7_35

nginx 0.7.35 *) Bugfix: a "ssl_engine" directive did not use a SSL-accelerator for asymmetric ciphers. Thanks to Marcin Gozdalik. *) Bugfix: a "try_files" directive set MIME type depending on an original request extension. *) Bugfix: "*domain.tld" names were handled incorrectly in "server_name", "valid_referers", and "map" directives, if an ".domain.tld" and ".subdomain.domain.tld" wildcards were used; the bug had appeared in 0.7.9.
author Igor Sysoev <http://sysoev.ru>
date Mon, 16 Feb 2009 00:00:00 +0300
parents 6ebbca3d5ed7
children 0161f3197817
comparison
equal deleted inserted replaced
445:e8605e87c1cb 446:15a022ee809b
587 587
588 if (names[n].key.len == len) { 588 if (names[n].key.len == len) {
589 wdc->value = names[n].value; 589 wdc->value = names[n].value;
590 } 590 }
591 591
592 name->value = (void *) ((uintptr_t) wdc | (dot ? 3 : 1)); 592 name->value = (void *) ((uintptr_t) wdc | (dot ? 3 : 2));
593 593
594 } else if (dot) { 594 } else if (dot) {
595 name->value = (void *) ((uintptr_t) name->value | 1); 595 name->value = (void *) ((uintptr_t) name->value | 1);
596 } 596 }
597 } 597 }