Skip to content

Commit

Permalink
rename
Browse files Browse the repository at this point in the history
  • Loading branch information
kazuho committed Mar 10, 2024
1 parent 58f8f36 commit b36dc96
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion include/quicly.h
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ struct st_quicly_context_t {
/**
* if CC should take app-limited into consideration
*/
unsigned cc_recognize_app_limited : 1;
unsigned respect_app_limited : 1;
/**
*
*/
Expand Down
2 changes: 1 addition & 1 deletion lib/quicly.c
Original file line number Diff line number Diff line change
Expand Up @@ -5406,7 +5406,7 @@ static int handle_ack_frame(quicly_conn_t *conn, struct st_quicly_handle_payload
* This might not be the best way to do this, but would likely be sufficient, as the flag being passed would be true only if
* the connection was CC-limited for at least one RTT. Hopefully, itwould also be aggressive enough during the slow start
* phase. */
int cc_limited = conn->super.ctx->cc_recognize_app_limited ? conn->egress.cc_limited : 1;
int cc_limited = conn->super.ctx->respect_app_limited ? conn->egress.cc_limited : 1;
conn->egress.cc.type->cc_on_acked(&conn->egress.cc, &conn->egress.loss, (uint32_t)bytes_acked, frame.largest_acknowledged,
(uint32_t)(conn->egress.loss.sentmap.bytes_in_flight + bytes_acked), cc_limited,
conn->egress.packet_number, conn->stash.now, conn->egress.max_udp_payload_size);
Expand Down
2 changes: 1 addition & 1 deletion src/cli.c
Original file line number Diff line number Diff line change
Expand Up @@ -1183,7 +1183,7 @@ int main(int argc, char **argv)
} else if (strcmp(longopts[opt_index].name, "disable-ecn") == 0) {
ctx.enable_ecn = 0;
} else if (strcmp(longopts[opt_index].name, "disregard-app-limited") == 0) {
ctx.cc_recognize_app_limited = 0;
ctx.respect_app_limited = 0;
} else {
assert(!"unexpected longname");
}
Expand Down

0 comments on commit b36dc96

Please sign in to comment.