我在IIS7上的一个网站上运行了一个。net webservice(老派的,不是WCF)。
我需要为webservice禁用http keep-alive,但不为站点的其余部分禁用。
是否有可能覆盖IIS在这里所做的,只是为那个服务?
我不能改变客户端代码,这是调用http 1.1
查看此链接
<configuration>
<system.webServer>
<httpProtocol allowKeepAlive="false" />
</system.webServer>
</configuration>