Atozed Forums
HttpSys post size limits - Printable Version

+- Atozed Forums (https://www.atozed.com/forums)
+-- Forum: Atozed Software (https://www.atozed.com/forums/forum-1.html)
+--- Forum: IntraWeb (https://www.atozed.com/forums/forum-3.html)
+---- Forum: English (https://www.atozed.com/forums/forum-16.html)
+----- Forum: IntraWeb General Discussion (https://www.atozed.com/forums/forum-4.html)
+----- Thread: HttpSys post size limits (/thread-2743.html)



HttpSys post size limits - iwuser - 05-20-2022

What is the limit on the POST body size for HttpSys applications?

And if it's low by default, how can it be increased?

I have not yet tested this myself, but I expect there must be some default limits in place, in the usual Microsoft way (i.e.: https://docs.microsoft.com/en-us/dotnet/api/microsoft.aspnetcore.server.httpsys.httpsysoptions.maxrequestbodysize?view=aspnetcore-6.0), so I thought I'd ask before I get burnt. I cannot see this exposed in the ServerController, nor could I find any references to MaxRequestBodySize in IW sources.

Specifically, I have a service and I know I can do POST to it and I can see it's receiving data. In this case, it would be MIME64-encoded file contents, but generally it may need to be any random binary data.


RE: HttpSys post size limits - Alexandre Machado - 05-20-2022

You mean regular field sizes or file uploads?

There's no limit in IW layer. The limit is stablished by Kernel itself. For uploads, I've personally tested it with 2 GB files and had no issues.

here's some info from MS:

https://docs.microsoft.com/en-us/troubleshoot/developer/webapps/iis/iisadmin-service-inetinfo/httpsys-registry-windows

This is also a good source of information.

https://windoh.wordpress.com/2014/05/18/upload-large-content-with-http-sys-iis-asp-and-asp-net/