Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Are the request limits in BITS/BYTES?

There are 2 sections in the asp.net web.config and im looking for a definitive word on what they actually represent (bits or bytes). The first:

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

And the second:

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

The '?''s show the values that I just dont understand if they are speaking about bits or bytes.

Any advice and supporting artciles :-) would be really helpful.

Pete

like image 681
Exitos Avatar asked Jul 10 '26 06:07

Exitos


1 Answers

According to MSDN:

HttpRuntimeSection.MaxRequestLength Property

-says kilobytes

requestLimits Element for requestFiltering [IIS 7 Settings Schema]

-says bytes

like image 194
Kieren Johnstone Avatar answered Jul 11 '26 19:07

Kieren Johnstone