【问题标题】:What is the difference between web.config executionTimeout and IIS timeout?web.config executionTimeout 和 IIS timeout 有什么区别?
【发布时间】:2016-03-17 15:08:53
【问题描述】:

web.config 中的以下条目有什么区别:

 <httpRuntime ... executionTimeout="1300" ... />

以及 IIS 7.5 中的此设置(默认网站 > 高级设置 > 连接限制):

似乎 executionTimeout 与 IIS 超时不同。有什么区别?

【问题讨论】:

标签: asp.net .net iis web-config windows-server-2008


【解决方案1】:

connectionTimeout 适用于客户端和服务器之间的 TCP 连接,而executionTimeout 适用于通过该连接发送的实际 Web 请求。

来自here connectionTimeout

指定 IIS 在断开被视为非活动的连接之前等待的时间(以秒为单位)。

来自hereexecutionTimeout

指定请求在被 ASP.NET 自动关闭之前允许执行的最大秒数。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2011-10-18
    • 1970-01-01
    • 2013-06-22
    • 2014-01-20
    • 2018-07-14
    • 1970-01-01
    • 2015-08-06
    • 1970-01-01
    相关资源
    最近更新 更多