关于 HTTP/2 在技术人群的客户端浏览器里的普及度 - V2EX
V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
httpbin - 协议调试工具
httpstatuses - 协议状态码查询
httpie - cURL-like tool for humans
Fiddler
Livid
183.99D
584.12D
V2EX    HTTP

关于 HTTP/2 在技术人群的客户端浏览器里的普及度

  •  
  •   Livid
    PRO
    2015-11-20 16:03:50 +08:00 3877 次点击
    这是一个创建于 3679 天前的主题,其中的信息可能已经有所发展或是发生改变。
    5 条回复    2015-11-20 20:35:37 +08:00
    TrustyWolf
        1
    TrustyWolf  
       2015-11-20 17:06:17 +08:00
    咱为了支持 HTTP/2 和 HSTS ,把系统从 CentOS 切换到了 Fedora Server ,用了最新的 Apache 2.4.17 ,然后发现这货有 SNI 的 BUG...无奈暂时关闭了 HTTP/2 功能 QAQ
    TrustyWolf
        2
    TrustyWolf  
       2015-11-20 17:32:06 +08:00
    h2 Restrictions

    There are some restrictions on the h2 implementation you should be aware of:

    Connection Reuse

    The HTTP/2 protocol allows reuse of TLS connections under certain conditions: if you have a certiface with wildcards or several altSubject names, browsers will reuse any existing connection they might have. Example:

    You have a certificate for a.example.org that has as additional name b.example.org. You open in your browser the url https://a.example.org/, open another tab and load https://b.example.org/.

    Before opening a new connection, the browser sees that it still has the one to a.example.org open and that the certificate is also valid for b.example.org. So, it sends the request for second tab over the connection of the first one.

    This connection reuse is intentional and makes it easier for sites that have invested in sharding for efficiency in HTTP/1 to also benefit from HTTP/2 without much change.

    In Apache mod_h[ttp]2 this is not fully implemented, yet. When a.example.org/a> and b.example.org are separate virtual hosts, Apache will not allow such connection reuse and inform the browser with status code 421 Misdirected Request about it. The browser will understand that it has to open a new connection to b.example.org. All will work, however some efficiency gets lost.

    We expect to have the proper checks in place for the next release.
    alect
        3
    alect  
       2015-11-20 17:37:15 +08:00   1
    @TrustyWolf 对的,用野卡 SSL 会出问题, Apache 新版第一天出来安装就发现了,然而 Nginx 没这个问题
    TrustyWolf
        4
    TrustyWolf  
       2015-11-20 17:40:25 +08:00
    @alect 嗯嗯,看内部邮件发现其实这个问题在开发 2.4.17 的时候就已经被发现了,期待下个版本被修复 0.0
    mengzhuo
        5
    mengzhuo  
       2015-11-20 20:35:37 +08:00
    Go 1.6 为了支持 http2 开发者已经四处传道了……
    关于     帮助文档     自助推广系统     博客     API     FAQ     Solana     4974 人在线   最高记录 6679       Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 56ms UTC 01:19 PVG 09:19 LAX 17:19 JFK 20:19
    Do have faith in what you're doing.
    ubao msn snddm index pchome yahoo rakuten mypaper meadowduck bidyahoo youbao zxmzxm asda bnvcg cvbfg dfscv mmhjk xxddc yybgb zznbn ccubao uaitu acv GXCV ET GDG YH FG BCVB FJFH CBRE CBC GDG ET54 WRWR RWER WREW WRWER RWER SDG EW SF DSFSF fbbs ubao fhd dfg ewr dg df ewwr ewwr et ruyut utut dfg fgd gdfgt etg dfgt dfgd ert4 gd fgg wr 235 wer3 we vsdf sdf gdf ert xcv sdf rwer hfd dfg cvb rwf afb dfh jgh bmn lgh rty gfds cxv xcv xcs vdas fdf fgd cv sdf tert sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf shasha9178 shasha9178 shasha9178 shasha9178 shasha9178 liflif2 liflif2 liflif2 liflif2 liflif2 liblib3 liblib3 liblib3 liblib3 liblib3 zhazha444 zhazha444 zhazha444 zhazha444 zhazha444 dende5 dende denden denden2 denden21 fenfen9 fenf619 fen619 fenfe9 fe619 sdf sdf sdf sdf sdf zhazh90 zhazh0 zhaa50 zha90 zh590 zho zhoz zhozh zhozho zhozho2 lislis lls95 lili95 lils5 liss9 sdf0ty987 sdft876 sdft9876 sdf09876 sd0t9876 sdf0ty98 sdf0976 sdf0ty986 sdf0ty96 sdf0t76 sdf0876 df0ty98 sf0t876 sd0ty76 sdy76 sdf76 sdf0t76 sdf0ty9 sdf0ty98 sdf0ty987 sdf0ty98 sdf6676 sdf876 sd876 sd876 sdf6 sdf6 sdf9876 sdf0t sdf06 sdf0ty9776 sdf0ty9776 sdf0ty76 sdf8876 sdf0t sd6 sdf06 s688876 sd688 sdf86