Maximum value of maxRequestLength?

后端 未结 5 832
失恋的感觉
失恋的感觉 2020-11-29 00:53

If we are using IIS 7 and .Net Framework 4, what will be the maximum value of maxRequestLength?

5条回答
  •  悲&欢浪女
    2020-11-29 01:12

    As per MSDN the default value is 4096 KB (4 MB).

    UPDATE

    As for the Maximum, since it is an int data type, then theoretically you can go up to 2,147,483,647. Also I wanted to make sure that you are aware that IIS 7 uses maxAllowedContentLength for specifying file upload size. By default it is set to 30000000 around 30MB and being an uint, it should theoretically allow a max of 4,294,967,295

提交回复
热议问题