reset pending push promises if user drops all refs (#199)

This commit is contained in:
Sean McArthur
2017-12-20 16:50:20 -08:00
committed by GitHub
parent 10d8ed7429
commit a89401dd91
4 changed files with 65 additions and 6 deletions

View File

@@ -615,6 +615,8 @@ impl Recv {
return;
}
trace!("enqueue_reset_expiration; {:?}", stream.id);
if !counts.can_inc_num_reset_streams() {
// try to evict 1 stream if possible
// if max allow is 0, this won't be able to evict,