gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [gnurl] 187/220: quiche: expire when poll returned data


From: gnunet
Subject: [GNUnet-SVN] [gnurl] 187/220: quiche: expire when poll returned data
Date: Thu, 12 Sep 2019 17:29: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 c30aff4f88e55c7255cbcbf4405577e9f4bcd63e
Author: Daniel Stenberg <address@hidden>
AuthorDate: Thu Aug 29 18:56:24 2019 +0200

    quiche: expire when poll returned data
    
    ... to make sure we continue draining the queue until empty
    
    Closes #4281
---
 lib/vquic/quiche.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/lib/vquic/quiche.c b/lib/vquic/quiche.c
index 7968f7e17..7f9b34a1e 100644
--- a/lib/vquic/quiche.c
+++ b/lib/vquic/quiche.c
@@ -475,6 +475,9 @@ static ssize_t h3_stream_recv(struct connectdata *conn,
   }
 
   *curlcode = (-1 == recvd)? CURLE_AGAIN : CURLE_OK;
+  if(recvd >= 0)
+    /* Get this called again to drain the event queue */
+    Curl_expire(conn->data, 0, EXPIRE_QUIC);
   return recvd;
 }
 

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



reply via email to

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