nghttpx: Fix compile error

This commit is contained in:
Tatsuhiro Tsujikawa 2021-11-06 00:16:53 +09:00
parent deae6c95b1
commit 528d177847
1 changed files with 1 additions and 4 deletions

View File

@ -711,10 +711,7 @@ int Http3Upstream::write_streams() {
size_t max_pktcnt = size_t max_pktcnt =
std::min(static_cast<size_t>(64_k), ngtcp2_conn_get_send_quantum(conn_)) / std::min(static_cast<size_t>(64_k), ngtcp2_conn_get_send_quantum(conn_)) /
max_udp_payload_size; max_udp_payload_size;
ngtcp2_pkt_info pi; ngtcp2_pkt_info pi, prev_pi;
#ifdef UDP_SEGMENT
ngtcp2_pkt_info prev_pi;
#endif // UDP_SEGMENT
uint8_t *bufpos = buf.data(); uint8_t *bufpos = buf.data();
ngtcp2_path_storage ps, prev_ps; ngtcp2_path_storage ps, prev_ps;
size_t pktcnt = 0; size_t pktcnt = 0;