Skip to content

Commit 9113834

Browse files
committed
Fix MaxReceivedMessageSize to be 100MB instead of 100KB.
1 parent e865e54 commit 9113834

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Azure.Functions.Cli/Actions/HostActions/StartHostAction.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ public override async Task RunAsync()
113113
IncludeErrorDetailPolicy = IncludeErrorDetailPolicy.Always,
114114
TransferMode = TransferMode.Streamed,
115115
HostNameComparisonMode = HostNameComparisonMode.Exact,
116-
MaxReceivedMessageSize = 102400 // 100MB
116+
MaxReceivedMessageSize = 1 * 1024 * 1024 * 100 // 1 byte * 1,024 * 1,024 * 100 = 100 MB (or 104,857,600 bytes)
117117
};
118118

119119
if (!string.IsNullOrEmpty(CorsOrigins))

0 commit comments

Comments
 (0)