aboutsummaryrefslogtreecommitdiff
path: root/lib/urldata.h
diff options
context:
space:
mode:
authorJay Satiro <raysatiro@yahoo.com>2016-08-25 23:57:56 -0400
committerJay Satiro <raysatiro@yahoo.com>2016-08-26 15:35:16 -0400
commit895168bfd3d817f7cc5e4b1ee86e2f6007e47a64 (patch)
tree54036c9a731c59b04cad5c963be69e70bbeff1e5 /lib/urldata.h
parent3a5d5de9ef52ebe8ca2bda2165edc1b34c242e54 (diff)
schannel: Disable ALPN for Wine since it is causing problems
- Disable ALPN on Wine. - Don't pass input secbuffer when ALPN is disabled. When ALPN support was added a change was made to pass an input secbuffer to initialize the context. When ALPN is enabled the buffer contains the ALPN information, and when it's disabled the buffer is empty. In either case this input buffer caused problems with Wine and connections would not complete. Bug: https://github.com/curl/curl/issues/983 Reported-by: Christian Fillion
Diffstat (limited to 'lib/urldata.h')
-rw-r--r--lib/urldata.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/urldata.h b/lib/urldata.h
index e6365be3c..44f8dc5c0 100644
--- a/lib/urldata.h
+++ b/lib/urldata.h
@@ -330,6 +330,7 @@ struct ssl_connect_data {
CURLcode recv_unrecoverable_err; /* schannel_recv had an unrecoverable err */
bool recv_sspi_close_notify; /* true if connection closed by close_notify */
bool recv_connection_closed; /* true if connection closed, regardless how */
+ bool use_alpn; /* true if ALPN is used for this connection */
#elif defined(USE_DARWINSSL)
SSLContextRef ssl_ctx;
curl_socket_t ssl_sockfd;