Skip to content

Commit 823f7c1

Browse files
committed
Allow request content up to 100MB. Fixes #1161
1 parent 658d4d0 commit 823f7c1

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/WebJobs.Script.WebHost/Web.config

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
<clear />
3636
</namespaces>
3737
</pages>
38-
<httpRuntime targetFramework="4.5" maxRequestLength="16384" />
38+
<httpRuntime targetFramework="4.5" maxRequestLength="102400" />
3939
</system.web>
4040
</location>
4141
<system.webServer>
@@ -46,6 +46,11 @@
4646
<add name="ExtensionlessUrlHandler-Integrated-4.0" path="*." verb="*" type="System.Web.Handlers.TransferRequestHandler" preCondition="integratedMode,runtimeVersionv4.0" />
4747
</handlers>
4848
<validation validateIntegratedModeConfiguration="false" />
49+
<security>
50+
<requestFiltering>
51+
<requestLimits maxAllowedContentLength="104857600" />
52+
</requestFiltering>
53+
</security>
4954
</system.webServer>
5055
<runtime>
5156
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">

0 commit comments

Comments
 (0)