comparison src/http/ngx_http_parse.c @ 294:27d9d1f26b38 NGINX_0_5_17

nginx 0.5.17 *) Change: now nginx always returns the 405 status for the TRACE method. *) Feature: now nginx supports the "include" directive inside the "types" block. *) Bugfix: the $document_root variable usage in the "root" and "alias" directives is disabled: this caused recursive stack overflow. *) Bugfix: in the HTTPS protocol in the "proxy_pass" directive. *) Bugfix: in some cases non-cachable variables (such as $uri variable) returned old cached value.
author Igor Sysoev <http://sysoev.ru>
date Mon, 02 Apr 2007 00:00:00 +0400
parents a0c9f21ee120
children cba14c1e2a4b
comparison
equal deleted inserted replaced
293:30378812e3af 294:27d9d1f26b38
144 && m[2] == 'C' && m[3] == 'O' && m[4] == 'L') 144 && m[2] == 'C' && m[3] == 'O' && m[4] == 'L')
145 { 145 {
146 r->method = NGX_HTTP_MKCOL; 146 r->method = NGX_HTTP_MKCOL;
147 } 147 }
148 148
149 if (m[0] == 'T' && m[1] == 'R'
150 && m[2] == 'A' && m[3] == 'C' && m[4] == 'E')
151 {
152 r->method = NGX_HTTP_TRACE;
153 }
154
149 break; 155 break;
150 156
151 case 6: 157 case 6:
152 if (m[0] == 'D' && m[1] == 'E' && m[2] == 'L' 158 if (m[0] == 'D' && m[1] == 'E' && m[2] == 'L'
153 && m[3] == 'E' && m[4] == 'T' && m[5] == 'E') 159 && m[3] == 'E' && m[4] == 'T' && m[5] == 'E')