nghttpx: Add additional assert just in case
This commit is contained in:
parent
3396c71c3c
commit
2bac00ea5f
|
@ -154,7 +154,8 @@ Downstream *DownstreamQueue::remove_and_get_blocked(Downstream *downstream) {
|
||||||
}
|
}
|
||||||
|
|
||||||
auto next_downstream = link->downstream;
|
auto next_downstream = link->downstream;
|
||||||
next_downstream->detach_blocked_link();
|
auto link2 = next_downstream->detach_blocked_link();
|
||||||
|
assert(link2 == link);
|
||||||
ent.blocked.remove(link);
|
ent.blocked.remove(link);
|
||||||
delete link;
|
delete link;
|
||||||
remove_host_entry_if_empty(ent, host_entries_, host);
|
remove_host_entry_if_empty(ent, host_entries_, host);
|
||||||
|
|
Loading…
Reference in New Issue