mirror of
https://github.com/sigmasternchen/CFloor
synced 2025-03-15 20:28:56 +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;
|
connection->state = OPENED;
|
||||||
updateTiming(connection, true);
|
updateTiming(connection, true);
|
||||||
connection->inUse--;
|
connection->inUse--;
|
||||||
|
|
||||||
|
// possibly the client sent pipelined requests
|
||||||
|
// trigger sigio on data thread just in case
|
||||||
|
kill(getpid(), SIGIO);
|
||||||
}
|
}
|
||||||
|
|
||||||
struct chunkedEncodingData {
|
struct chunkedEncodingData {
|
||||||
|
|
Loading…
Reference in a new issue