414169c95e
See http://trac.lighttpd.net/trac/wiki/Release-1.4.13-patches. Submitted by Frank Denis. Thanks! ok brad@
17 lines
485 B
Plaintext
17 lines
485 B
Plaintext
$OpenBSD: patch-src_connections_c,v 1.1 2007/02/02 09:25:19 bernd Exp $
|
|
|
|
Fixes a possible 99% cpu bug when a client connection is dropped.
|
|
See http://trac.lighttpd.net/trac/wiki/Release-1.4.13-patches.
|
|
|
|
--- src/connections.c.orig Tue Jan 30 10:20:09 2007
|
|
+++ src/connections.c Tue Jan 30 10:20:25 2007
|
|
@@ -970,7 +970,7 @@ int connection_handle_read_state(server
|
|
}
|
|
} else {
|
|
/* a splited \r \n */
|
|
- return -1;
|
|
+ break;
|
|
}
|
|
}
|
|
}
|