我在IIS 7.5设置中启用了HTTP keep-alive。 但是,IIS仍然不响应连接:保持活动标题(对于FF和Chrome)
I've enabled "HTTP keep-alive" in IIS 7.5 settings. But still, the IIS doesn't respond with Connection: keep-alive header (to both FF and Chrome)
正如我所注意到的,当我启用keep-alive时,Nginx会响应这个标题。
As I noticed, Nginx responds with this header when I enable keep-alive on it.
不应该连接:服务器响应请求发送保留活动标头?
推荐答案在HTTP / 1.1持久性中连接是默认值: http:// www .w3 / Protocols / rfc2616 / rfc2616-sec8.html#sec8
In HTTP/1.1 persistent connections are the default: www.w3/Protocols/rfc2616/rfc2616-sec8.html#sec8
换句话说,IIS并不是真的需要(不过Apache似乎总是发送它。)
In other words, IIS doesn't really need to (however Apache seems to always send it).
您可以使用netstat验证这一点,或者我倾向于使用tcpview(一个可以从microsoft下载的小型sysinternals工具: technet.microsoft/en-us/sysinternals/bb897437。一个spx )
You could verify this with netstat or as I tend to do with tcpview (a small sysinternals tool which you can download from microsoft: technet.microsoft/en-us/sysinternals/bb897437.aspx)
更多推荐
IIS不应该发送Keep
发布评论