nghttpd: Don't shutdown session if pending data is left
This commit is contained in:
parent
8f1249ab67
commit
c4d2639ed8
|
@ -598,6 +598,10 @@ int Http2Handler::wait_events()
|
||||||
active = 1;
|
active = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(pending_datalen_ > 0) {
|
||||||
|
active = 1;
|
||||||
|
}
|
||||||
|
|
||||||
return active ? 0 : -1;
|
return active ? 0 : -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue