Wed, 30 Aug 2017 22:05:56 +0200
fixes http_parser_validate
src/server/daemon/httpparser.c | file | annotate | diff | comparison | revisions |
--- a/src/server/daemon/httpparser.c Wed Aug 30 21:57:37 2017 +0200 +++ b/src/server/daemon/httpparser.c Wed Aug 30 22:05:56 2017 +0200 @@ -76,7 +76,7 @@ HTTPRequest *req = parser->request; if( !req->method.ptr || req->method.length == 0 - || req->uri.ptr || req->uri.length == 0 + || !req->uri.ptr || req->uri.length == 0 || !req->httpv.ptr || req->httpv.length == 0) { return 0;