gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [gnurl] 127/220: multi: getsock improvements for QUIC conne


From: gnunet
Subject: [GNUnet-SVN] [gnurl] 127/220: multi: getsock improvements for QUIC connecting
Date: Thu, 12 Sep 2019 17:28:07 +0200

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

ng0 pushed a commit to branch master
in repository gnurl.

commit 437bf10cade7cdb8b946261114ee309c6796682c
Author: Daniel Stenberg <address@hidden>
AuthorDate: Tue Aug 13 08:41:53 2019 +0200

    multi: getsock improvements for QUIC connecting
---
 lib/multi.c | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/lib/multi.c b/lib/multi.c
index e5c483c56..37c4e55a5 100755
--- a/lib/multi.c
+++ b/lib/multi.c
@@ -832,7 +832,13 @@ static int waitconnect_getsock(struct connectdata *conn,
   for(i = 0; i<2; i++) {
     if(conn->tempsock[i] != CURL_SOCKET_BAD) {
       sock[s] = conn->tempsock[i];
-      rc |= GETSOCK_WRITESOCK(s++);
+      rc |= GETSOCK_WRITESOCK(s);
+#ifdef ENABLE_QUIC
+      if(conn->transport == TRNSPRT_QUIC)
+        /* when connecting QUIC, we want to read the socket too */
+        rc |= GETSOCK_READSOCK(s);
+#endif
+      s++;
     }
   }
 

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



reply via email to

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