From 86de4cbef5f075840406e24e16a2b1417f721bb3 Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Thu, 30 Jan 2003 07:28:09 +0000 Subject: nginx-0.0.1-2003-01-30-10:28:09 import --- src/http/ngx_http_parse.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'src/http/ngx_http_parse.c') diff --git a/src/http/ngx_http_parse.c b/src/http/ngx_http_parse.c index a741f090f..f6d840903 100644 --- a/src/http/ngx_http_parse.c +++ b/src/http/ngx_http_parse.c @@ -304,6 +304,11 @@ printf("\nstate: %d, pos: %x, end: %x, char: '%c' buf: %s", return NGX_HTTP_PARSE_INVALID_REQUEST; } break; + +#if (NGX_SUPPRESS_WARN) + case sw_done: + break; +#endif } } @@ -490,6 +495,14 @@ printf("\nstate: %d, pos: %x, end: %x, char: '%c' buf: %s", return NGX_HTTP_PARSE_INVALID_HEADER; } break; + +#if (NGX_SUPPRESS_WARN) + case sw_done: + break; + + case sw_header_done: + break; +#endif } } -- cgit