curl/lib/vtls
Joel Depooter 3f5a7975a5 schannel: Don't reset recv/send function pointers on renegotiation
These function pointers will have been set when the initial TLS
handshake was completed. If they are unchanged, there is no need to set
them again. If they have been changed, as is the case with HTTP/2, we
don't want to override that change. That would result in the
http22_recv/send functions being completely bypassed.

Prior to this change a connection that uses Schannel with HTTP/2 would
fail on renegotiation with error "Received HTTP/0.9 when not allowed".

Fixes https://github.com/curl/curl/issues/9451
Closes https://github.com/curl/curl/pull/9756
2022-10-19 04:07:06 -04:00
..
bearssl.c bearssl: make it proper C89 compliant 2022-09-23 08:27:50 +02:00
bearssl.h copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
gskit.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
gskit.h copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
gtls.c http, vauth: always provide Curl_allow_auth_to_host() functionality 2022-09-27 14:05:37 +02:00
gtls.h copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
hostcheck.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
hostcheck.h copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
keylog.c lib and tests: add missing curl.h includes 2022-09-12 09:41:47 +02:00
keylog.h copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
mbedtls_threadlock.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
mbedtls_threadlock.h copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
mbedtls.c NPN: remove support for and use of 2022-09-05 07:39:02 +02:00
mbedtls.h copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
nss.c misc: ISSPACE() => ISBLANK() 2022-09-06 08:34:30 +02:00
nssg.h copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
openssl.c http, vauth: always provide Curl_allow_auth_to_host() functionality 2022-09-27 14:05:37 +02:00
openssl.h openssl: make certinfo available for QUIC 2022-09-27 14:02:27 +02:00
rustls.c NPN: remove support for and use of 2022-09-05 07:39:02 +02:00
rustls.h copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
schannel_verify.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
schannel.c schannel: Don't reset recv/send function pointers on renegotiation 2022-10-19 04:07:06 -04:00
schannel.h schannel: when importing PFX, disable key persistence 2022-10-11 04:04:54 -04:00
sectransp.c NPN: remove support for and use of 2022-09-05 07:39:02 +02:00
sectransp.h copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
vtls.c strcase: add and use Curl_timestrcmp 2022-10-08 11:50:47 +02:00
vtls.h vtls: make Curl_ssl_backend() return the enum type curl_sslbackend 2022-07-23 13:38:33 +02:00
wolfssl.c wolfSSL: fix session management bug. 2022-09-13 10:15:40 +02:00
wolfssl.h copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
x509asn1.c ctype: remove all use of <ctype.h>, use our own versions 2022-09-06 08:32:36 +02:00
x509asn1.h copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00