Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如果我在我的服务器上添加对 spdy/3 的支持,而我的用户在他们的浏览器中只有 spdy/2,会发生什么?协议会优雅地降级到 spdy/2 还是只会使用普通的 https?
支持 SPDY 的服务器(例如Jetty )通过NPN宣传他们能够支持的协议,并且通常其中总是有“http/1.1”。
如果你的服务器宣传“spdy/3”、“http/1.1”,而浏览器只支持“spdy/2”,那么浏览器(作为浏览器意味着它默认支持HTTP)将回退到“http/1.1” TLS。
如果服务器不支持 spdy/2,它不会降级(spdy/2 和 spdy/3 是二进制不兼容的)。如果无法进行协议协商,则关闭连接。