nghttpx: Make sure that ngtcp2_conn_update_pkt_tx_time is called

This commit is contained in:
Tatsuhiro Tsujikawa 2021-10-02 19:22:53 +09:00
parent 87bdc21667
commit abee658a60
1 changed files with 2 additions and 1 deletions

View File

@ -781,10 +781,11 @@ int Http3Upstream::write_streams() {
prev_ps.path.local.addr, prev_ps.path.local.addrlen, prev_ps.path.local.addr, prev_ps.path.local.addrlen,
buf.data(), bufpos - buf.data(), max_udp_payload_size); buf.data(), bufpos - buf.data(), max_udp_payload_size);
ngtcp2_conn_update_pkt_tx_time(conn_, ts);
reset_idle_timer(); reset_idle_timer();
} }
ngtcp2_conn_update_pkt_tx_time(conn_, ts);
handler_->get_connection()->wlimit.stopw(); handler_->get_connection()->wlimit.stopw();
return 0; return 0;