Mercurial > hg > nginx
changeset 821:8634fcbfe075
axe unused state
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Sat, 28 Oct 2006 10:42:24 +0000 |
parents | cdbe991cbdf5 |
children | a908ba404078 |
files | src/http/ngx_http_parse.c |
diffstat | 1 files changed, 0 insertions(+), 12 deletions(-) [+] |
line wrap: on
line diff
--- a/src/http/ngx_http_parse.c Sat Oct 28 10:15:31 2006 +0000 +++ b/src/http/ngx_http_parse.c Sat Oct 28 10:42:24 2006 +0000 @@ -18,7 +18,6 @@ enum { sw_start = 0, sw_method, - sw_space_after_method, sw_spaces_before_uri, sw_schema, sw_schema_slash, @@ -118,17 +117,6 @@ break; - /* single space after method */ - case sw_space_after_method: - switch (ch) { - case ' ': - state = sw_spaces_before_uri; - break; - default: - return NGX_HTTP_PARSE_INVALID_METHOD; - } - break; - /* space* before URI */ case sw_spaces_before_uri: