Are the requirements limits in BITS / BYTES?

There are 2 sections in asp.net web.config and im looking for the final word about what they actually represent (bits or bytes). First:

<system.webServer>
   <security>
   <requestFiltering>
    <requestLimits maxAllowedContentLength="?" />
   </requestFiltering>
  </security>
</system.webServer>

And the second:

<system.web>
     <httpRuntime maxRequestLength="?" requestValidationMode="2.0" />
</system.web>

"?" show values ​​that i just don't understand if they are talking about bits or bytes.

Any advice and support for artciles :-) would be very helpful.

Pete

+3
source share
2 answers

maxRequestLength: The maximum request size in kilobytes. The default size is 4096 KB (4 MB).

maxAllowedContentLength: . - 30000000.

+1

Source: https://habr.com/ru/post/1778785/


All Articles