Reputation: 2726
I have a .net webservice (old-school, not WCF) running on a website on IIS7.
I need to disable http keep-alive for the webservice, but not for the rest of the site.
Is it possible to override what IIS is doing here, just for that service?
I cannot change client code, which is calling in with http 1.1.
Upvotes: 3
Views: 3905
Reputation: 3054
<configuration>
<system.webServer>
<httpProtocol allowKeepAlive="false" />
</system.webServer>
</configuration>
Upvotes: 3