aboutsummaryrefslogtreecommitdiff
path: root/lib/http2.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/http2.c')
-rw-r--r--lib/http2.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/http2.c b/lib/http2.c
index ba088b712..691e9a68c 100644
--- 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;