Skip to content
This repository was archived by the owner on Dec 18, 2018. It is now read-only.

Commit 5597da5

Browse files
committed
Doc comment for KestrelServerOptions.MaxInputBufferLength
1 parent 207b9a1 commit 5597da5

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/Microsoft.AspNetCore.Server.Kestrel/KestrelServerOptions.cs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ namespace Microsoft.AspNetCore.Server.Kestrel
88
{
99
public class KestrelServerOptions
1010
{
11+
private int? _maxInputBufferLength = 1024 * 1024;
12+
1113
/// <summary>
1214
/// Gets or sets whether the <c>Server</c> header should be included in each response.
1315
/// </summary>
@@ -17,7 +19,9 @@ public class KestrelServerOptions
1719

1820
public IConnectionFilter ConnectionFilter { get; set; }
1921

20-
private int? _maxInputBufferLength = 1024 * 1024;
22+
/// <summary>
23+
/// Maximum number of bytes used to buffer input for each connection.
24+
/// </summary>
2125
public int? MaxInputBufferLength
2226
{
2327
get

0 commit comments

Comments
 (0)