gpt4 book ai didi

asp.net - web.config executionTimeout 和 IIS 超时有什么区别?

转载 作者:行者123 更新时间:2023-12-01 13:46:06 25 4
gpt4 key购买 nike

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

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

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

enter image description here

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

最佳答案

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

来自 hereconnectionTimeout :

Specifies the time (in seconds) that IIS waits before it disconnects a connection that is considered inactive.



来自 hereexecutionTimeout :

Specifies the maximum number of seconds that a request is allowed to execute before being automatically shut down by ASP.NET.

关于asp.net - web.config executionTimeout 和 IIS 超时有什么区别?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36064511/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com