Skip to content
Snippets Groups Projects
Commit adfd8daf authored by deuce's avatar deuce
Browse files

Do not allow send_error() to bypass close_request(). This was a memory leak.

parent 2084dc0c
No related branches found
No related tags found
No related merge requests found
......@@ -3786,7 +3786,6 @@ void http_session_thread(void* arg)
if(get_req(&session,redirp)) {
if(init_error) {
send_error(&session, error_500);
continue;
}
/* At this point, if redirp is non-NULL then the headers have already been parsed */
if((session.http_ver<HTTP_1_0)||redirp!=NULL||parse_headers(&session)) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment