fix error with new reno
@@ -157,12 +157,9 @@ void picoquic_newreno_notify(picoquic_path_t* path_x,
case picoquic_newreno_alg_congestion_avoidance:
switch (notification) {
case picoquic_congestion_notification_acknowledgement: {
- /* Only increase when the app is CWIN limited */
- if (path_x->cwin <= path_x->bytes_in_transit + nb_bytes_acknowledged) {
uint64_t complete_ack = nb_bytes_acknowledged + nr_state->residual_ack;
nr_state->residual_ack = complete_ack % path_x->cwin;
path_x->cwin += complete_ack / path_x->cwin;
- }
break;
}
case picoquic_congestion_notification_repeat:
