If IIS Does Not Send Keep-Alive Header

I enabled "HTTP keep-alive" in IIS 7.5 settings. But still, IIS does not respond with the Connection: keep-alive header (for both FF and Chrome)

As I noticed, Nginx responds with this header when I enable keep-alive on it.

Should the Connection: keep-alive header be sent by the server in response to requests?

+4
iis keep-alive
source share
2 answers

In HTTP / 1.1, persistent connections by default:
http://www.w3.org/Protocols/rfc2616/rfc2616-sec8.html#sec8

In other words, IIS really is not needed (however, Apache seems to always send it).

You can check this with netstat or, as I usually do with tcpview (a small sysinternals tool that you can download from microsoft: http://technet.microsoft.com/en-us/sysinternals/bb897437.aspx )

+7
source share

It seems that IIS is not sending Connection: keep-alive . However, it does not close the connection, and the browser reuses it for further requests.

0
source share

All Articles