cloudflare / sslconfig

Cloudflare's Internet facing SSL configuration
BSD 3-Clause "New" or "Revised" License
1.3k stars 132 forks source link

Spdy patch & hpack patch could not work together #85

Closed S8Cloud closed 6 years ago

S8Cloud commented 6 years ago

My nginx version 1.13.5

I tried to patch spdy first and then hpack, it failed again and I can not use flag -with-http_v2_hpack_enc when building nginx 1.13.5

kn007 commented 6 years ago

patch hpack first, then patch spdy manual or your may edit the patch file to patch.


用中文跟你解释一下吧。因为你patch了任意一个,都会新增了参数,比如--with-http_v2_hpack_enc--with-http_spdy_module,这时候另外一个patch就会判断跟原始结构不一致,出现问题。

建议呢,先打hpack,因为改动比较大,又有新增函数。然后再手动打下spdy,照着patch文件。就可以了。

kn007 commented 6 years ago

Your could using this patch to fix it: https://raw.githubusercontent.com/kn007/patch/master/nginx.patch Test pass on nginx 1.13.6