commit | ea7af3edef88be48759bbcc4d1a9264e29b044d7 | [log] [tgz] |
---|---|---|
author | Valentin Bartenev <vbart@nginx.com> | Thu Nov 05 15:01:09 2015 +0300 |
committer | Valentin Bartenev <vbart@nginx.com> | Thu Nov 05 15:01:09 2015 +0300 |
tree | b8ce42a8a255b474453a08b96cbb228d3fa5b964 | |
parent | 9d978c625007f4bb1083543013c10f5566b130b0 [diff] |
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.