ah: increase timeout sanity check to ah_idle + 60
This commit is contained in:
parent
7594bc585c
commit
d30597f728
1 changed files with 2 additions and 1 deletions
|
@ -1042,7 +1042,8 @@ lws_service_fd_tsi(struct lws_context *context, struct lws_pollfd *pollfd, int t
|
|||
const unsigned char *c;
|
||||
|
||||
if (!ah->in_use || !ah->wsi || !ah->assigned ||
|
||||
now - ah->assigned < 60) {
|
||||
(ah->wsi->vhost && now - ah->assigned <
|
||||
ah->wsi->vhost->timeout_secs_ah_idle + 60)) {
|
||||
ah = ah->next;
|
||||
continue;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue