If client connection aborts during parse of "\r\n\r\n", then lighttpd never cleans up the
connection and keeps trying to read from the died connection. lighttpd still responses to other requests, it just eats up all the cpu trying to handle the died connection. this commit fixes that problem git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1473 152afb58-edef-0310-8abb-c4023f1b3aa9svn/tags/lighttpd-1.4.14
parent
4a609547a0
commit
4f1587c57e
|
@ -970,7 +970,7 @@ int connection_handle_read_state(server *srv, connection *con) {
|
|||
}
|
||||
} else {
|
||||
/* a splited \r \n */
|
||||
return -1;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue