Exitos
Exitos

Reputation: 29720

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

Upvotes: 3

Views: 5951

Answers (2)

stack72
stack72

Reputation: 8278

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

maxAllowedContentLength: Specifies the maximum length of content in a request, in bytes. The default value is 30000000.

Upvotes: 1

Related Questions