Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nginx/nginx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2006-10-28 14:42:24 +0400
committerIgor Sysoev <igor@sysoev.ru>2006-10-28 14:42:24 +0400
commita7241007996518331e13a9503234380a5e8e2b84 (patch)
tree1d356b195218c87b5229308a551d6754a1895704 /src/http/ngx_http_parse.c
parentb80a7f4318d13b3c2b030709beee99e6a159c0a5 (diff)
axe unused state
Diffstat (limited to 'src/http/ngx_http_parse.c')
-rw-r--r--src/http/ngx_http_parse.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/http/ngx_http_parse.c b/src/http/ngx_http_parse.c
index ddd8d77e6..59787712e 100644
--- a/src/http/ngx_http_parse.c
+++ b/src/http/ngx_http_parse.c
@@ -18,7 +18,6 @@ ngx_http_parse_request_line(ngx_http_request_t *r, ngx_buf_t *b)
enum {
sw_start = 0,
sw_method,
- sw_space_after_method,
sw_spaces_before_uri,
sw_schema,
sw_schema_slash,
@@ -118,17 +117,6 @@ ngx_http_parse_request_line(ngx_http_request_t *r, ngx_buf_t *b)
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: