Re: Issue in ngx_http_parse_request_line

2014-12-16 Thread akamatgi
Thanks Valentin for digging out the mod_security fix. Posted at Nginx Forum: http://forum.nginx.org/read.php?2,255493,255528#msg-255528 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Issue in ngx_http_parse_request_line

2014-12-15 Thread akamatgi
Hi Maxim/Valentin, Thanks for your response. Both port_start and port_end are being used by the mod_security nginx module. Failure to set port_start is causing a Segmentation Violation when mod_security is enabled and a request with absolute URI is sent. Thanks, -anirudh Posted at Nginx Forum: ht

Issue in ngx_http_parse_request_line

2014-12-15 Thread akamatgi
Hi, I can see an issue in assigning the port_start and port_end members of ngx_http_request_t inside ngx_http_parse_request_line(). If the request line has a absolute URI with explicit port specified, then port_end is set correctly inside ngx_http_parse_request_line(): ... case sw_port: