------------------------------------------------------------------------
r1473 | jakabosky | 2006-12-15 07:13:43 +0100 (Fri, 15 Dec 2006) | 6 lines
Changed paths:
   M /branches/lighttpd-1.4.x/src/connections.c

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

------------------------------------------------------------------------
Index: src/connections.c
===================================================================
--- src/connections.c	(revision 1472)
+++ src/connections.c	(revision 1473)
@@ -970,7 +970,7 @@
 								}
 							} else {
 								/* a splited \r \n */
-								return -1;
+								break;
 							}
 						}
 					}
