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

Commit 26860ad

Browse files
committed
Code cleanup
1 parent d43cf30 commit 26860ad

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Microsoft.AspNet.Http.Extensions/FormFileExtensions.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ namespace Microsoft.AspNet.Http
1212
/// </summary>
1313
public static class FormFileExtensions
1414
{
15-
private static int DefaultBufferSize = 81920;
15+
// Stream.CopyTo method uses 80KB as the default buffer size.
16+
private static int DefaultBufferSize = 80 * 1024;
1617

1718
/// <summary>
1819
/// Saves the contents of an uploaded file.

0 commit comments

Comments
 (0)