asp.net - executionTimeout 发送响应

当您设置 httpRuntime executionTimeout 时,是否会切断已部分发送到客户端的响应?

我注意到在 IIS 请求队列中偶尔会有一些请求运行的时间比我们的 executionTimeout 设置长很多,并且在 IIS Web 核心模块中状态为 SendResponse。 executionTimeout 是否包括发送响应到客户端所需的时间?

我能找到的唯一文档是在这个片段的下一页上,但它是从 2003 年开始的,用于旧版本的 IIS: https://msdn.microsoft.com/en-us/library/ms972959.aspx

Request Execution Time. The number of milliseconds taken to execute the last request. In version 1.0 of the Framework, the execution time begins when the worker process receives the request, and stops when the ASP.NET ISAPI sends HSE_REQ_DONE_WITH_SESSION to IIS. For IIS version 5, this includes the time taken to write the response to the client, but for IIS version 6, the response buffers are sent asynchronously, and so the time taken to write the response to the client is not included.

在运行 ASP.NET 4.5 Web 应用程序的 Windows Server 2008 R2 上,IIS 版本为 7.5,调试设置为 false。

最佳答案

对于没有直接回答您的问题,我深表歉意,但有些东西可能对您的问题有所帮助:

有一个 minBytesPerSecond在 the <webLimits> section. 中设置传输速度下限的设置我怀疑它最初是为了防御 SlowLoris, 而添加的但是您可以提高该值以踢出管道无法支持您的站点的用户。默认值为 240,该值非常低。

https://stackoverflow.com/questions/31549974/

相关文章:

r - 如何计算 vowpal wabbit 中 LDA 模型的对数似然

c# - Visual Studio : how to use scripts to "build

sql - 如何在 SQL MS Access 2013 中根据文本特征标准和 n+1、n+2、n+

cmake - 带有特殊字符的 custom_command ECHO

android - AlertDialog 内的 DatePickerDialog(在特定的 Edi

php - 带有 PHP SDK 的 AWS EC2 - 等到实例具有公共(public) DNS

javascript - 使用 python 电子邮件或其他模块在电子邮件中发送 Bokeh 图

java - 如何通过键前缀查询 Samza KeyValueStore?

php - 使用 Jsonb 绑定(bind)参数?|使用 Postgres 的 Doctrine2

facebook - Graph Facebook 发生未知错误