]> git.kaiwu.me - nginx.git/commit
SSL: only select HTTP/2 using NPN if "http2" is enabled.
authorValentin Bartenev <vbart@nginx.com>
Thu, 5 Nov 2015 12:01:09 +0000 (15:01 +0300)
committerValentin Bartenev <vbart@nginx.com>
Thu, 5 Nov 2015 12:01:09 +0000 (15:01 +0300)
commit93aef089b44cf2a0bcb276eaa17ccea43024f5c2
treeb8ce42a8a255b474453a08b96cbb228d3fa5b964
parentb22c0e0846be6ee21a93a4e7dc6a3cfad25b1758
SSL: only select HTTP/2 using NPN if "http2" is enabled.

OpenSSL doesn't check if the negotiated protocol has been announced.
As a result, the client might force using HTTP/2 even if it wasn't
enabled in configuration.
src/http/ngx_http_request.c