Welcome! Log In Create A New Profile

Advanced

Fixed request method must be already supported

hyphen
January 20, 2016 12:12PM
# HG changeset patch
# User goecho <hyphen9@foxmail.com>
# 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
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

Fixed request method must be already supported

hyphen 345 January 20, 2016 12:12PM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 156
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready