Also delete non output stream upon ack
@@ -2531,6 +2531,8 @@ static int picoquic_process_ack_of_stream_frame(picoquic_cnx_t* cnx, uint8_t* by
if (stream != NULL) {
(void)picoquic_update_sack_list(&stream->first_sack_item,
offset, offset + data_length - 1);
+
+ picoquic_delete_stream_if_closed(cnx, stream);
}
}
