gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [gnurl] 66/205: proxy: skip SSL initialization for closed c


From: gnunet
Subject: [GNUnet-SVN] [gnurl] 66/205: proxy: skip SSL initialization for closed connections
Date: Thu, 20 Apr 2017 16:20:06 +0200

This is an automated email from the git hooks/post-receive script.

ng0 pushed a commit to annotated tag gnurl-7.54.0
in repository gnurl.

commit e84a863dc37f81bca066838a76e1b461c3cabeaf
Author: Michael Kaufmann <address@hidden>
AuthorDate: Fri Mar 10 23:57:09 2017 +0100

    proxy: skip SSL initialization for closed connections
    
    This prevents a "Descriptor is not a socket" error for WinSSL.
    
    Reported-by: address@hidden
    Reviewed-by: Jay Satiro
    
    Fixes https://github.com/curl/curl/issues/1239
---
 lib/http.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/lib/http.c b/lib/http.c
index ebc005060..3f3553abb 100644
--- a/lib/http.c
+++ b/lib/http.c
@@ -1359,6 +1359,10 @@ CURLcode Curl_http_connect(struct connectdata *conn, 
bool *done)
   if(result)
     return result;
 
+  if(conn->bits.proxy_connect_closed)
+    /* this is not an error, just part of the connection negotiation */
+    return CURLE_OK;
+
   if(CONNECT_FIRSTSOCKET_PROXY_SSL())
     return CURLE_OK; /* wait for HTTPS proxy SSL initialization to complete */
 

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]