Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个在 IIS7 上的网站上运行的 .net 网络服务(老派,不是 WCF)。
我需要为 web 服务禁用 http keep-alive,但不需要为站点的其余部分禁用。
是否可以仅针对该服务覆盖 IIS 在这里所做的事情?
我无法更改使用 http 1.1 调用的客户端代码。
看到这个链接
<configuration> <system.webServer> <httpProtocol allowKeepAlive="false" /> </system.webServer> </configuration>