So I've configured IIS8.5 on Win 8.1, like so:
appcmd.exe set config -section:system.applicationHost/webLimits /connectionTimeout:"00:00:03" /commit:apphost
I've verified that the setting appears applied.
I've done an IISRESET (in desperation), but the setting seems to be ignored.
If I telnet to IIS, and don't send any content, I don't get disconnected after 3s as expected.
I actually started all this by trying to get this to work:
appcmd.exe set config -section:system.applicationHost/webLimits /headerWaitTimeout:"00:00:30" /commit:apphost
i.e. for it to disconnect me after not sending all the headers after 30s. That also didn't work - stay connected as long as I like.
I've read the docs (http://www.iis.net/configreference/system.applicationhost/weblimits) and am fairly confident the semantics are correct.
Why is the limit not being applied?