Skip to content

Commit

Permalink
docs(quinn): Clarify effects of setting AckFrequencyConfig
Browse files Browse the repository at this point in the history
  • Loading branch information
gretchenfrage committed Jun 9, 2024
1 parent f117a74 commit d9c77cd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion quinn-proto/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,9 @@ impl TransportConfig {
/// The provided configuration will be ignored if the peer does not support the acknowledgement
/// frequency QUIC extension.
///
/// Defaults to `None`, which disables the ACK frequency feature.
/// Defaults to `None`, which disables controlling the peer's acknowledgement frequency. Even
/// if set to `None`, the local side still supports the acknowledgement frequency QUIC
/// extension and may use it in other ways.
pub fn ack_frequency_config(&mut self, value: Option<AckFrequencyConfig>) -> &mut Self {
self.ack_frequency_config = value;
self
Expand Down

0 comments on commit d9c77cd

Please sign in to comment.