gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [gnurl] 76/220: quiche: flush egress in h3_stream_recv() to


From: gnunet
Subject: [GNUnet-SVN] [gnurl] 76/220: quiche: flush egress in h3_stream_recv() too
Date: Thu, 12 Sep 2019 17:27:16 +0200

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

ng0 pushed a commit to branch master
in repository gnurl.

commit 470551b7fc16499c409ba8d539e204a2481981c2
Author: Daniel Stenberg <address@hidden>
AuthorDate: Wed Aug 7 07:48:37 2019 +0200

    quiche: flush egress in h3_stream_recv() too
---
 lib/vquic/quiche.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/lib/vquic/quiche.c b/lib/vquic/quiche.c
index 68786540e..4362ba98c 100644
--- a/lib/vquic/quiche.c
+++ b/lib/vquic/quiche.c
@@ -352,6 +352,10 @@ static ssize_t h3_stream_recv(struct connectdata *conn,
 
     quiche_h3_event_free(ev);
   }
+  if(flush_egress(conn, sockfd)) {
+    *curlcode = CURLE_SEND_ERROR;
+    return -1;
+  }
 
   *curlcode = (-1 == recvd)? CURLE_AGAIN : CURLE_OK;
   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]