gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [gnurl] 66/220: quiche:h3_stream_recv return 0 at end of st


From: gnunet
Subject: [GNUnet-SVN] [gnurl] 66/220: quiche:h3_stream_recv return 0 at end of stream
Date: Thu, 12 Sep 2019 17:27:06 +0200

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

ng0 pushed a commit to branch master
in repository gnurl.

commit cee7639b790f29113759f69c4a955c2ead8bff31
Author: Daniel Stenberg <address@hidden>
AuthorDate: Tue Aug 6 08:06:58 2019 +0200

    quiche:h3_stream_recv return 0 at end of stream
    
    ... and remove some verbose messages we don't need. Made transfers from
    facebook.com work better.
---
 lib/vquic/quiche.c | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/lib/vquic/quiche.c b/lib/vquic/quiche.c
index e1b9e30ce..68786540e 100644
--- a/lib/vquic/quiche.c
+++ b/lib/vquic/quiche.c
@@ -307,8 +307,6 @@ static ssize_t h3_stream_recv(struct connectdata *conn,
       /* nothing more to do */
       break;
 
-    infof(conn->data, "quiche_h3_conn_poll got something: %zd\n", s);
-
     switch(quiche_h3_event_type(ev)) {
     case QUICHE_H3_EVENT_HEADERS:
       infof(conn->data, "quiche says HEADERS\n");
@@ -346,9 +344,9 @@ static ssize_t h3_stream_recv(struct connectdata *conn,
       if(quiche_conn_close(qs->conn, true, 0, NULL, 0) < 0) {
         fprintf(stderr, "failed to close connection\n");
       }
+      recvd = 0; /* end of stream */
       break;
     default:
-      infof(conn->data, "quiche says UNKNOWN\n");
       break;
     }
 
@@ -356,7 +354,6 @@ static ssize_t h3_stream_recv(struct connectdata *conn,
   }
 
   *curlcode = (-1 == recvd)? CURLE_AGAIN : CURLE_OK;
-  infof(conn->data, "h3_stream_recv returns %zd\n", recvd);
   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]