maxRequestLength 的最大值? [英] Maximum value of maxRequestLength?

查看:95
本文介绍了maxRequestLength 的最大值?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果我们使用 IIS 7 和 .Net Framework 4,maxRequestLength 的最大值是多少?

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

推荐答案

根据 MSDN 默认值为 4096 KB (4 MB).

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

更新

至于Maximum,既然是int数据类型,那么理论上可以达到2,147,483,647.另外我想确保您知道 IIS 7 使用 maxAllowedContentLength 用于指定文件上传大小.默认情况下,它设置为 30000000 大约 30MB 并且是一个 uint,理论上它应该允许最大值为 4,294,967,295

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

这篇关于maxRequestLength 的最大值?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆