projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
803581d
)
http2_recv: log nghttp2 return codes for debugging purposes
author
Daniel Stenberg
<daniel@haxx.se>
Wed, 29 Jan 2014 22:20:46 +0000
(23:20 +0100)
committer
Daniel Stenberg
<daniel@haxx.se>
Wed, 29 Jan 2014 22:20:46 +0000
(23:20 +0100)
lib/http2.c
patch
|
blob
|
history
diff --git
a/lib/http2.c
b/lib/http2.c
index
ba088b7
..
691e9a6
100644
(file)
--- a/
lib/http2.c
+++ b/
lib/http2.c
@@
-227,6
+227,8
@@
static ssize_t http2_recv(struct connectdata *conn, int sockindex,
rc = nghttp2_session_recv(conn->proto.httpc.h2);
if(rc < 0) {
+ failf(conn->data, "nghttp2_session_recv() returned %d\n",
+ rc);
*err = CURLE_RECV_ERROR;
}
return 0;