1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 23:58:49 -05:00
curl/lib/vtls
Jay Satiro 9dfb194833 openssl: improve data-pending check for https proxy
- Allow proxy_ssl to be checked for pending data even when connssl does
  not yet have an SSL handle.

This change is for posterity. Currently there doesn't seem to be a code
path that will cause a pending data check when proxyssl could have
pending data and the connssl handle doesn't yet exist [1].

[1]: Recall that an https proxy connection starts out in connssl but if
the destination is also https then the proxy SSL backend data is moved
from connssl to proxyssl, which means connssl handle is temporarily
empty until an SSL handle for the destination can be created.

Ref: https://github.com/curl/curl/commit/f4a6238#commitcomment-24396542

Closes https://github.com/curl/curl/pull/1916
2017-12-08 17:43:36 -05:00
..
axtls.c vtls: change struct Curl_ssl close' field name to close_one'. 2017-10-19 19:55:17 +01:00
axtls.h vtls: fold the backend ID into the Curl_ssl structure 2017-08-28 14:56:58 +02:00
cyassl.c vtls: change struct Curl_ssl close' field name to close_one'. 2017-10-19 19:55:17 +01:00
cyassl.h vtls: fold the backend ID into the Curl_ssl structure 2017-08-28 14:56:58 +02:00
darwinssl.c vtls: change struct Curl_ssl close' field name to close_one'. 2017-10-19 19:55:17 +01:00
darwinssl.h vtls: fold the backend ID into the Curl_ssl structure 2017-08-28 14:56:58 +02:00
gskit.c vtls: change struct Curl_ssl close' field name to close_one'. 2017-10-19 19:55:17 +01:00
gskit.h vtls: fold the backend ID into the Curl_ssl structure 2017-08-28 14:56:58 +02:00
gtls.c vtls: change struct Curl_ssl close' field name to close_one'. 2017-10-19 19:55:17 +01:00
gtls.h vtls: fold the backend ID into the Curl_ssl structure 2017-08-28 14:56:58 +02:00
mbedtls.c vtls: change struct Curl_ssl close' field name to close_one'. 2017-10-19 19:55:17 +01:00
mbedtls.h vtls: fold the backend ID into the Curl_ssl structure 2017-08-28 14:56:58 +02:00
nss.c vtls: change struct Curl_ssl close' field name to close_one'. 2017-10-19 19:55:17 +01:00
nssg.h vtls: fold the backend ID into the Curl_ssl structure 2017-08-28 14:56:58 +02:00
openssl.c openssl: improve data-pending check for https proxy 2017-12-08 17:43:36 -05:00
openssl.h vtls: fold the backend ID into the Curl_ssl structure 2017-08-28 14:56:58 +02:00
polarssl_threadlock.c code style: use spaces around equals signs 2017-09-11 09:29:50 +02:00
polarssl_threadlock.h URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
polarssl.c vtls: change struct Curl_ssl close' field name to close_one'. 2017-10-19 19:55:17 +01:00
polarssl.h vtls: fold the backend ID into the Curl_ssl structure 2017-08-28 14:56:58 +02:00
schannel.c vtls: change struct Curl_ssl close' field name to close_one'. 2017-10-19 19:55:17 +01:00
schannel.h vtls: fold the backend ID into the Curl_ssl structure 2017-08-28 14:56:58 +02:00
vtls.c vtls: change struct Curl_ssl close' field name to close_one'. 2017-10-19 19:55:17 +01:00
vtls.h vtls: change struct Curl_ssl close' field name to close_one'. 2017-10-19 19:55:17 +01:00