# HG changeset patch
# User goecho <[email protected]>
# Date 1453175856 -28800
#      Tue Jan 19 11:57:36 2016 +0800
# Node ID 25548a0b15afd46f3177c34a3d6af1dbe830cef0
# Parent  02abce4764b7c964e7ee6e10b1a7abf1fee95f79
Fixed request method must be already supported

diff -r 02abce4764b7 -r 25548a0b15af src/http/ngx_http_parse.c
--- a/src/http/ngx_http_parse.c Tue Jan 12 19:19:07 2016 +0300
+++ b/src/http/ngx_http_parse.c Tue Jan 19 11:57:36 2016 +0800
@@ -264,7 +264,10 @@
                     }

                     break;
-                }
+
+               default :
+                   return NGX_HTTP_PARSE_INVALID_METHOD;
+               }

                 state = sw_spaces_before_uri;
                 break;
_______________________________________________
nginx-devel mailing list
[email protected]
http://mailman.nginx.org/mailman/listinfo/nginx-devel

Reply via email to