Bug #1964 » connection.patch
lighttpd-1.4.19/src/connections.c 2009-04-17 12:01:55.000000000 +0200 | ||
---|---|---|
/* FIXME: revents = 0x19 still means that we should read from the queue */
|
||
if (revents & FDEVENT_HUP) {
|
||
if (con->state == CON_STATE_CLOSE) {
|
||
con->close_timeout_ts = 0;
|
||
con->close_timeout_ts = LONG_MIN;
|
||
} else {
|
||
/* sigio reports the wrong event here
|
||
*
|
||
... | ... | |
} else {
|
||
/* nothing to read */
|
||
con->close_timeout_ts = 0;
|
||
con->close_timeout_ts = LONG_MIN;
|
||
}
|
||
}
|
||
... | ... | |
} else {
|
||
/* nothing to read */
|
||
con->close_timeout_ts = 0;
|
||
con->close_timeout_ts = LONG_MIN;
|
||
}
|
||
} else {
|
||
con->close_timeout_ts = 0;
|
||
con->close_timeout_ts = LONG_MIN;
|
||
}
|
||
if (srv->cur_ts - con->close_timeout_ts > 1) {
|
- « Previous
- 1
- 2
- Next »