comparison src/http/ngx_http_script.c @ 238:a528ae0fe909 NGINX_0_4_4

nginx 0.4.4 *) Feature: the $scheme variable. *) Feature: the "expires" directive supports the "max" parameter. *) Feature: the "include" directive supports the "*" mask. Thanks to Jonathan Dance. *) Bugfix: the "return" directive always overrode the "error_page" response code redirected by the "error_page" directive. *) Bugfix: a segmentation fault occurred if zero-length body was in PUT method. *) Bugfix: the redirect was changed incorrectly if the variables were used in the "proxy_redirect" directive.
author Igor Sysoev <http://sysoev.ru>
date Mon, 02 Oct 2006 00:00:00 +0400
parents 9eebc1b2cdbb
children 2e9c57a5e50a
comparison
equal deleted inserted replaced
237:302a8e8b4ae7 238:a528ae0fe909
839 839
840 e->status = code->status; 840 e->status = code->status;
841 841
842 if (code->status == NGX_HTTP_NO_CONTENT) { 842 if (code->status == NGX_HTTP_NO_CONTENT) {
843 e->request->header_only = 1; 843 e->request->header_only = 1;
844 e->request->zero_body = 1;
844 } 845 }
845 846
846 e->ip += sizeof(ngx_http_script_return_code_t) - sizeof(uintptr_t); 847 e->ip += sizeof(ngx_http_script_return_code_t) - sizeof(uintptr_t);
847 } 848 }
848 849