comparison src/http/modules/ngx_http_rewrite_module.c @ 544:f7ec98e3caeb NGINX_0_8_18

nginx 0.8.18 *) Feature: the "read_ahead" directive. *) Feature: now several "perl_modules" directive may be used. *) Feature: the "limit_req_log_level" and "limit_conn_log_level" directives. *) Bugfix: now "limit_req" directive conforms to the leaky bucket algorithm. Thanks to Maxim Dounin. *) Bugfix: nginx did not work on Linux/sparc. Thanks to Marcus Ramberg. *) Bugfix: nginx sent '\0' in a "Location" response header line on MKCOL request. Thanks to Xie Zhenye. *) Bugfix: zero status code was logged instead of 499 status code; the bug had appeared in 0.8.11. *) Bugfix: socket leak; the bug had appeared in 0.8.11.
author Igor Sysoev <http://sysoev.ru>
date Tue, 06 Oct 2009 00:00:00 +0400
parents 24b676623d4f
children e19e5f542878
comparison
equal deleted inserted replaced
543:7688992d2abb 544:f7ec98e3caeb
444 code = ngx_http_script_add_code(lcf->codes, sizeof(uintptr_t), &regex); 444 code = ngx_http_script_add_code(lcf->codes, sizeof(uintptr_t), &regex);
445 if (code == NULL) { 445 if (code == NULL) {
446 return NGX_CONF_ERROR; 446 return NGX_CONF_ERROR;
447 } 447 }
448 448
449 *code = (uintptr_t) NULL; 449 *code = NULL;
450 } 450 }
451 451
452 regex->next = (u_char *) lcf->codes->elts + lcf->codes->nelts 452 regex->next = (u_char *) lcf->codes->elts + lcf->codes->nelts
453 - (u_char *) regex; 453 - (u_char *) regex;
454 454