-
- Downloads
TLS: move the ALPN/NPN enable bits to the connection
Only protocols that actually have a protocol registered for ALPN and NPN should try to get that negotiated in the TLS handshake. That is only HTTPS (well, http/1.1 and http/2) right now. Previously ALPN and NPN would wrongly be used in all handshakes if libcurl was built with it enabled. Reported-by: Jay Satiro Fixes #789
Showing
- lib/http.c 1 addition, 1 deletionlib/http.c
- lib/url.c 9 additions, 0 deletionslib/url.c
- lib/urldata.h 5 additions, 3 deletionslib/urldata.h
- lib/vtls/cyassl.c 2 additions, 2 deletionslib/vtls/cyassl.c
- lib/vtls/gtls.c 2 additions, 2 deletionslib/vtls/gtls.c
- lib/vtls/mbedtls.c 2 additions, 2 deletionslib/vtls/mbedtls.c
- lib/vtls/nss.c 7 additions, 7 deletionslib/vtls/nss.c
- lib/vtls/openssl.c 3 additions, 3 deletionslib/vtls/openssl.c
- lib/vtls/polarssl.c 3 additions, 3 deletionslib/vtls/polarssl.c
- lib/vtls/schannel.c 2 additions, 2 deletionslib/vtls/schannel.c
Loading
Please register or sign in to comment