diff --git a/src/Servers/Kestrel/Core/src/Features/IHttpMinResponseDataRateFeature.cs b/src/Servers/Kestrel/Core/src/Features/IHttpMinResponseDataRateFeature.cs index c90d3cbba0b4..f69ad83a8d2d 100644 --- a/src/Servers/Kestrel/Core/src/Features/IHttpMinResponseDataRateFeature.cs +++ b/src/Servers/Kestrel/Core/src/Features/IHttpMinResponseDataRateFeature.cs @@ -17,5 +17,9 @@ public interface IHttpMinResponseDataRateFeature /// This feature is not available for HTTP/2 requests. Instead, use /// for server-wide configuration which applies to both HTTP/2 and HTTP/1.x. /// + /// + /// This rate may not accurately measure how much data a client is reading. This is because data is read from the application + /// until the transport's operating system buffers are full. + /// MinDataRate? MinDataRate { get; set; } } diff --git a/src/Servers/Kestrel/Core/src/KestrelServerLimits.cs b/src/Servers/Kestrel/Core/src/KestrelServerLimits.cs index ef6a9ea3264e..579f631f8819 100644 --- a/src/Servers/Kestrel/Core/src/KestrelServerLimits.cs +++ b/src/Servers/Kestrel/Core/src/KestrelServerLimits.cs @@ -378,6 +378,10 @@ internal void Serialize(Utf8JsonWriter writer) /// bytes divided by the data rate (i.e. the maximum amount of time that write should take to complete with the specified data rate). /// The connection is aborted if the write has not completed by the time that timer expires. /// + /// + /// This rate may not accurately measure how much data a client is reading. This is because data is read from the application + /// until the transport's operating system buffers are full. + /// /// public MinDataRate? MinResponseDataRate { get; set; } = // Matches the default IIS minBytesPerSecond