Wed, 30 Aug 2017 21:57:37 +0200
abort on http_parser_validate error
src/server/daemon/sessionhandler.c | file | annotate | diff | comparison | revisions |
--- a/src/server/daemon/sessionhandler.c Wed Aug 30 21:53:08 2017 +0200 +++ b/src/server/daemon/sessionhandler.c Wed Aug 30 21:57:37 2017 +0200 @@ -323,8 +323,8 @@ if(!http_parser_validate(parser)) { log_ereport(LOG_FAILURE, "http_parser_validate failed"); // TODO: send error 400 bad request - //event->finish = evt_request_error; - //return 0; + event->finish = evt_request_error; + return 0; } /*