Project

General

Profile

fix-mod-scgi-2024.patch

stbuehler, 2009-07-09 23:49

View differences:

src/mod_scgi.c
2297 2297

  
2298 2298
		chunkqueue_remove_finished_chunks(hctx->wb);
2299 2299

  
2300
		if (-1 == ret) {
2301
			if (errno == ENOTCONN) {
2300
		if (ret < -1) {
2301
			if (errno == ENOTCONN || ret == -2) {
2302 2302
				/* the connection got dropped after accept()
2303 2303
				 *
2304 2304
				 * this is most of the time a PHP which dies