From 810e9a782ea51700696751b1102ce4de46212872 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> Date: Tue, 4 Aug 2020 17:17:27 +0900 Subject: [PATCH] Update doc --- lib/ngtcp2_conn.c | 4 ++-- lib/ngtcp2_rtb.c | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/lib/ngtcp2_conn.c b/lib/ngtcp2_conn.c index 74199501..0f41132f 100644 --- a/lib/ngtcp2_conn.c +++ b/lib/ngtcp2_conn.c @@ -1110,8 +1110,8 @@ static int conn_create_ack_frame(ngtcp2_conn *conn, ngtcp2_frame **pfr, ngtcp2_pktns *pktns, uint8_t type, ngtcp2_tstamp ts, ngtcp2_duration ack_delay, uint64_t ack_delay_exponent) { - /* TODO Measure an actual size of ACK bloks to find the best default - value. */ + /* TODO Measure an actual size of ACK blocks to find the best + default value. */ const size_t initial_max_ack_blks = 8; int64_t last_pkt_num; ngtcp2_acktr *acktr = &pktns->acktr; diff --git a/lib/ngtcp2_rtb.c b/lib/ngtcp2_rtb.c index 83308e8e..bbbea2d8 100644 --- a/lib/ngtcp2_rtb.c +++ b/lib/ngtcp2_rtb.c @@ -798,8 +798,7 @@ static int rtb_pkt_lost(ngtcp2_rtb *rtb, ngtcp2_conn_stat *cstat, } /* - * rtb_compute_pkt_loss_delay computes delay until packet is - * considered lost in NGTCP2_MICROSECONDS resolution. + * rtb_compute_pkt_loss_delay computes loss delay. */ static ngtcp2_duration compute_pkt_loss_delay(const ngtcp2_conn_stat *cstat) { /* 9/8 is kTimeThreshold */ -- GitLab