mirror of
https://github.com/sigmasternchen/CFloor
synced 2025-03-15 04:18:55 +00:00
signal data thread on connection reset
This commit is contained in:
parent
037d10eff9
commit
df7ef63ae1
1 changed files with 4 additions and 0 deletions
|
@ -353,6 +353,10 @@ void resetPersistentConnection(struct connection* connection) {
|
|||
connection->state = OPENED;
|
||||
updateTiming(connection, true);
|
||||
connection->inUse--;
|
||||
|
||||
// possibly the client sent pipelined requests
|
||||
// trigger sigio on data thread just in case
|
||||
kill(getpid(), SIGIO);
|
||||
}
|
||||
|
||||
struct chunkedEncodingData {
|
||||
|
|
Loading…
Reference in a new issue