-
Notifications
You must be signed in to change notification settings - Fork 132
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HPACK patch broken for Nginx 1.13.6 #83
Comments
Same ERROR here
Nginx 1.13.6 has already declaration of ‘h2c’. |
Same error for me also:
|
Removing line 324 from the patch will make it work. For a version of the HPACK patch that works on nginx 1.13.6, see https://github.com/Injust/hws/blob/master/individual-patches/nginx__http2-hpack.patch. |
Thanks for fixing! 😃 But unfortunately the patch is giving me problems now, with Nginx 1.13.6. At random I get curl errors: "Stream error in the HTTP/2 framing layer" with images. And, Chrome works fine but Safari (newest, on iOS and macOS) sometimes also doesn't load images. After doing a clean build without the patch, all is working again. The clean working build without your patch: |
I will take a look at it |
@vkrasnov thanks, let me know if you need more info (I can reproduce it on all of my servers). |
@vkrasnov are you able to reproduce the issue? Is there anything I can help you with, to make the patch working again? |
@HansVanEijsden, no. Can you try removing:
from ngx_http_v2_filter_module.c ? |
Thanks for the update @vkrasnov - I've followed your advice and removed exactly those lines from ngx_http_v2_filter_module.c and it gives me these errors when building now:
|
Probably cause it is missing the closing }. You should remove it too. |
My original ngx_http_v2_filter_module.c looks like this:
According to your example I assume I should leave |
It doesn't matter, as long as |
I corrected the code to be removed. The |
I confirm to have it working @vkrasnov, after removing those lines.
|
Any plans to make this fix in the master branch? |
Working on it. |
Any update on this guys?
|
I search google very hard finally find here....And thanks to friends above work to this problem. I am using Nginx 1.13.8 and today was Jan 9th ,met same problem. Because my English not very well ,so at began I didn't figure out HansVanEijsden which code that he deleted. But finally i found it. Actually it was a duplicated variable name error. So for convenient if anyone also met same thing and came here before the master branch solve this problem, There is a easy way to solve the problem here. First, if you came here you must already patched "HPACK 1.13.6". So get into your nginx dir, and move to |
@FreeStyleNight Thanks for the simple recap/update of the thread ! It solved my problem ! |
Created a PR for 1.13.9 |
For nginx 1.13.9, could using this patch: https://github.com/kn007/patch/blob/master/nginx.patch |
This (standalone HPACK patch) should work for nginx 1.13.9. |
Update: I am using #92 now |
FYI, 1.3.10 will also break this hpack patch #93 |
Is there any update for Nginx 1.16.1? |
Seems Nginx 1.13.6 update broken HPACK patch https://community.centminmod.com/threads/nginx-announce-nginx-1-13-6.13079/#post-55493
after disabling HPACK patch, Nginx 1.13.6 compiled fine on CentOS 6.9 64bit
The text was updated successfully, but these errors were encountered: