diff options
author | Jay Satiro <raysatiro@yahoo.com> | 2019-12-04 01:10:17 -0500 |
---|---|---|
committer | Jay Satiro <raysatiro@yahoo.com> | 2019-12-05 18:38:40 -0500 |
commit | 0edf75865a8ab3783cb42acded8288108bbe3b5b (patch) | |
tree | 41803fa7d39342f2c230b94716dd56be58d14228 /tests/server/CMakeLists.txt | |
parent | 9ea769e15f60f8bebf42bffd708658296a812d6e (diff) |
setopt: Fix ALPN / NPN user option when built without HTTP2
- Stop treating lack of HTTP2 as an unknown option error result for
CURLOPT_SSL_ENABLE_ALPN and CURLOPT_SSL_ENABLE_NPN.
Prior to this change it was impossible to disable ALPN / NPN if libcurl
was built without HTTP2. Setting either option would result in
CURLE_UNKNOWN_OPTION and the respective internal option would not be
set. That was incorrect since ALPN and NPN are used independent of
HTTP2.
Reported-by: Shailesh Kapse
Fixes https://github.com/curl/curl/issues/4668
Closes https://github.com/curl/curl/pull/4672
Diffstat (limited to 'tests/server/CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions