Skip to content

Commit

Permalink
HTTP/2 full HPACK encoding implementation for nginx
Browse files Browse the repository at this point in the history
Apply patch, configure with --with-http_v2_hpack_enc
  • Loading branch information
vkrasnov committed Jun 23, 2017
1 parent 3002597 commit c8fca69
Showing 1 changed file with 1,031 additions and 0 deletions.
Loading

2 comments on commit c8fca69

@kevin25
Copy link

@kevin25 kevin25 commented on c8fca69 Nov 8, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

root@server:/usr/local/src/nginx-1.12.2# patch -p1 < nginx_http2_hpack.patch
patching file auto/modules
patching file auto/options
patching file src/core/ngx_murmurhash.c
patching file src/core/ngx_murmurhash.h
patching file src/http/v2/ngx_http_v2.c
Hunk #2 succeeded at 2036 (offset 16 lines).
patching file src/http/v2/ngx_http_v2.h
Hunk #5 succeeded at 393 (offset -8 lines).
patching file src/http/v2/ngx_http_v2_filter_module.c
Hunk #2 succeeded at 46 with fuzz 2 (offset -2 lines).
Hunk #3 succeeded at 129 (offset -4 lines).
Hunk #4 succeeded at 138 (offset -4 lines).
Hunk #5 succeeded at 401 (offset -4 lines).
Hunk #6 succeeded at 409 (offset -4 lines).
Hunk #7 succeeded at 429 (offset -4 lines).
Hunk #8 succeeded at 476 (offset -4 lines).
Hunk #9 succeeded at 528 with fuzz 1 (offset -4 lines).
Hunk #10 FAILED at 564.
Hunk #11 FAILED at 634.
Hunk #12 FAILED at 660.
Hunk #13 succeeded at 583 (offset -116 lines).
3 out of 13 hunks FAILED -- saving rejects to file src/http/v2/ngx_http_v2_filter_module.c.rej
patching file src/http/v2/ngx_http_v2_table.c

Failed with nginx 1.12.2

@injust
Copy link
Contributor

@injust injust commented on c8fca69 Nov 8, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kevin25 Use nginx_1.13.1_http2_hpack.patch instead

Please sign in to comment.