nghttpd: Don't shutdown session if pending data is left

This commit is contained in:
Tatsuhiro Tsujikawa 2014-07-12 23:17:25 +09:00
parent 8f1249ab67
commit c4d2639ed8
1 changed files with 4 additions and 0 deletions

View File

@ -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;
} }