]> git.kaiwu.me - nginx.git/commit
HTTP/2: use scheme from original request for pushes (closes #1549).
authorRuslan Ermilov <ru@nginx.com>
Thu, 7 Jun 2018 17:04:22 +0000 (20:04 +0300)
committerRuslan Ermilov <ru@nginx.com>
Thu, 7 Jun 2018 17:04:22 +0000 (20:04 +0300)
commitfb3a9e28b233f3c2823487378622e7cf4284857a
tree18ab3e0ec269a9075958511bbcc7b4cc911f6df6
parentf11a9cbdd0f5806131e4308d2ce98a2a97ca4007
HTTP/2: use scheme from original request for pushes (closes #1549).

Instead of the connection scheme, use scheme from the original request.
This fixes pushes when SSL is terminated by a proxy server in front of
nginx.
src/http/v2/ngx_http_v2.c
src/http/v2/ngx_http_v2_filter_module.c