gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [gnurl] 131/220: ngtcp2: add missing nghttp3_conn_add_write


From: gnunet
Subject: [GNUnet-SVN] [gnurl] 131/220: ngtcp2: add missing nghttp3_conn_add_write_offset call
Date: Thu, 12 Sep 2019 17:28:11 +0200

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

ng0 pushed a commit to branch master
in repository gnurl.

commit 408c758bb8fe61498fb648f983ce58eb4a4567e4
Author: Tatsuhiro Tsujikawa <address@hidden>
AuthorDate: Thu Aug 15 14:53:24 2019 +0900

    ngtcp2: add missing nghttp3_conn_add_write_offset call
    
    Closes #4225
---
 lib/vquic/ngtcp2.c | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/lib/vquic/ngtcp2.c b/lib/vquic/ngtcp2.c
index 38bea4520..040945791 100644
--- a/lib/vquic/ngtcp2.c
+++ b/lib/vquic/ngtcp2.c
@@ -1946,6 +1946,15 @@ static CURLcode ng_flush_egress(struct connectdata 
*conn, int sockfd,
             return CURLE_SEND_ERROR;
           }
         }
+        else if(ndatalen > 0) {
+          rv = nghttp3_conn_add_write_offset(qs->h3conn, stream_id, ndatalen);
+          if(rv != 0) {
+            failf(conn->data,
+                  "nghttp3_conn_add_write_offset returned error: %s\n",
+                  nghttp3_strerror(rv));
+            return CURLE_SEND_ERROR;
+          }
+        }
       }
     }
     if(outlen < 0) {

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



reply via email to

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