nghttpx: Pass hashed_scid_ to CloseWait
This commit is contained in:
parent
684a219e39
commit
8f9744c07b
|
@ -1330,10 +1330,9 @@ void Http3Upstream::on_handler_delete() {
|
||||||
auto worker = handler_->get_worker();
|
auto worker = handler_->get_worker();
|
||||||
auto quic_conn_handler = worker->get_quic_connection_handler();
|
auto quic_conn_handler = worker->get_quic_connection_handler();
|
||||||
|
|
||||||
quic_conn_handler->remove_connection_id(&hashed_scid_);
|
std::vector<ngtcp2_cid> scids(ngtcp2_conn_get_num_scid(conn_) + 1);
|
||||||
|
|
||||||
std::vector<ngtcp2_cid> scids(ngtcp2_conn_get_num_scid(conn_));
|
|
||||||
ngtcp2_conn_get_scid(conn_, scids.data());
|
ngtcp2_conn_get_scid(conn_, scids.data());
|
||||||
|
scids.back() = hashed_scid_;
|
||||||
|
|
||||||
for (auto &cid : scids) {
|
for (auto &cid : scids) {
|
||||||
quic_conn_handler->remove_connection_id(&cid);
|
quic_conn_handler->remove_connection_id(&cid);
|
||||||
|
|
Loading…
Reference in New Issue