signal data thread on connection reset

This commit is contained in:
overflowerror 2021-05-13 16:47:42 +02:00
parent 037d10eff9
commit df7ef63ae1

View file

@ -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 {