gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [gnurl] 46/220: url: set conn->transport to default TCP at


From: gnunet
Subject: [GNUnet-SVN] [gnurl] 46/220: url: set conn->transport to default TCP at init time
Date: Thu, 12 Sep 2019 17:26:46 +0200

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

ng0 pushed a commit to branch master
in repository gnurl.

commit a9a2b26830c9ecb38e6a02bc4e26684bf2cc5cc3
Author: Daniel Stenberg <address@hidden>
AuthorDate: Fri Aug 2 14:28:22 2019 +0200

    url: set conn->transport to default TCP at init time
---
 lib/url.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/url.c b/lib/url.c
index 68cc5b232..54373027b 100644
--- a/lib/url.c
+++ b/lib/url.c
@@ -1773,6 +1773,7 @@ static struct connectdata *allocate_conn(struct Curl_easy 
*data)
   conn->proxy_ssl_config.verifyhost = data->set.proxy_ssl.primary.verifyhost;
   conn->ip_version = data->set.ipver;
   conn->bits.connect_only = data->set.connect_only;
+  conn->transport = TRNSPRT_TCP; /* most of them are TCP streams */
 
 #if !defined(CURL_DISABLE_HTTP) && defined(USE_NTLM) && \
     defined(NTLM_WB_ENABLED)
@@ -2109,7 +2110,6 @@ static CURLcode setup_connection_internals(struct 
connectdata *conn)
 {
   const struct Curl_handler * p;
   CURLcode result;
-  conn->transport = TRNSPRT_TCP; /* most of them are TCP streams */
 
   /* Perform setup complement if some. */
   p = conn->handler;

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



reply via email to

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