Changeset 1473

Show
Ignore:
Timestamp:
12/15/2006 06:13:43 AM (21 months ago)
Author:
jakabosky
Message:

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

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/lighttpd-1.4.x/src/connections.c

    r1385 r1473  
    971971                                                        } else { 
    972972                                                                /* a splited \r \n */ 
    973                                                                 return -1; 
     973                                                                break; 
    974974                                                        } 
    975975                                                }