[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [gnurl] 42/220: quiche: add failf() calls for two error cas
From: |
gnunet |
Subject: |
[GNUnet-SVN] [gnurl] 42/220: quiche: add failf() calls for two error cases |
Date: |
Thu, 12 Sep 2019 17:26:42 +0200 |
This is an automated email from the git hooks/post-receive script.
ng0 pushed a commit to branch master
in repository gnurl.
commit fc5b61baf0d42ae89e293208fc4cce600b501593
Author: Daniel Stenberg <address@hidden>
AuthorDate: Fri Aug 2 11:25:40 2019 +0200
quiche: add failf() calls for two error cases
To aid debugging
Closes #4181
---
lib/vquic/quiche.c | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/lib/vquic/quiche.c b/lib/vquic/quiche.c
index f6c4ad42c..b7b7cc94e 100644
--- a/lib/vquic/quiche.c
+++ b/lib/vquic/quiche.c
@@ -125,15 +125,19 @@ static CURLcode process_ingress(struct connectdata *conn,
int sockfd)
if((recvd < 0) && ((errno == EAGAIN) || (errno == EWOULDBLOCK)))
break;
- if(recvd < 0)
+ if(recvd < 0) {
+ failf(conn->data, "quiche: recv() unexpectedly returned %d", recvd);
return CURLE_RECV_ERROR;
+ }
recvd = quiche_conn_recv(qs->conn, buf, recvd);
if(recvd == QUICHE_ERR_DONE)
break;
- if(recvd < 0)
+ if(recvd < 0) {
+ failf(conn->data, "quiche_conn_recv() == %d", recvd);
return CURLE_RECV_ERROR;
+ }
} while(1);
return CURLE_OK;
--
To stop receiving notification emails like this one, please contact
address@hidden.
- [GNUnet-SVN] [gnurl] 40/220: http_negotiate: improve handling of gss_init_sec_context() failures, (continued)
- [GNUnet-SVN] [gnurl] 40/220: http_negotiate: improve handling of gss_init_sec_context() failures, gnunet, 2019/09/12
- [GNUnet-SVN] [gnurl] 45/220: altsvc: with quiche, use the quiche h3 alpn string, gnunet, 2019/09/12
- [GNUnet-SVN] [gnurl] 44/220: alt-svc: more liberal ALPN name parsing, gnunet, 2019/09/12
- [GNUnet-SVN] [gnurl] 28/220: cleanup: remove the 'numsocks' argument used in many places, gnunet, 2019/09/12
- [GNUnet-SVN] [gnurl] 29/220: curl: remove outdated comment, gnunet, 2019/09/12
- [GNUnet-SVN] [gnurl] 27/220: readwrite_data: repair setting the TIMER_STARTTRANSFER stamp, gnunet, 2019/09/12
- [GNUnet-SVN] [gnurl] 39/220: mailmap: added 4 more names, gnunet, 2019/09/12
- [GNUnet-SVN] [gnurl] 41/220: mailmap: added Kyohei Kadota, gnunet, 2019/09/12
- [GNUnet-SVN] [gnurl] 36/220: appveyor: pass on -k to make, gnunet, 2019/09/12
- [GNUnet-SVN] [gnurl] 30/220: curl.h: fix outdated comment, gnunet, 2019/09/12
- [GNUnet-SVN] [gnurl] 42/220: quiche: add failf() calls for two error cases,
gnunet <=
- [GNUnet-SVN] [gnurl] 34/220: ROADMAP: parallel transfers are merged now, gnunet, 2019/09/12
- [GNUnet-SVN] [gnurl] 35/220: timediff: make it 64 bit (if possible) even with 32 bit time_t, gnunet, 2019/09/12
- [GNUnet-SVN] [gnurl] 50/220: md4: Move the GNU TLS gcrypt MD4 implementation out of the NTLM code, gnunet, 2019/09/12
- [GNUnet-SVN] [gnurl] 47/220: url: make use of new HTTP version if alt-svc has one, gnunet, 2019/09/12
- [GNUnet-SVN] [gnurl] 48/220: OS400: Add CURLOPT_H3 symbols, gnunet, 2019/09/12
- [GNUnet-SVN] [gnurl] 55/220: md4: No need for the NTLM code to call Curl_md4it() for each TLS library, gnunet, 2019/09/12
- [GNUnet-SVN] [gnurl] 60/220: lib/Makefile.am: make checksrc run in vquic too, gnunet, 2019/09/12
- [GNUnet-SVN] [gnurl] 64/220: quiche: show the actual version number, gnunet, 2019/09/12
- [GNUnet-SVN] [gnurl] 49/220: md4: Move the GNU TLS Nettle MD4 implementation out of the NTLM code, gnunet, 2019/09/12
- [GNUnet-SVN] [gnurl] 57/220: md4: Use our own MD4 implementation when no crypto libraries are available, gnunet, 2019/09/12