From 2c36cb1cbbd679c915856fbac551eee953025b5e Mon Sep 17 00:00:00 2001 From: Jay Satiro Date: Thu, 25 Aug 2016 02:43:19 -0400 Subject: http2: Remove incorrect comments .. also remove same from scp --- lib/http2.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'lib/http2.c') diff --git a/lib/http2.c b/lib/http2.c index 885208800..a14f75e62 100644 --- a/lib/http2.c +++ b/lib/http2.c @@ -1268,10 +1268,6 @@ static int h2_session_send(struct Curl_easy *data, return nghttp2_session_send(h2); } -/* - * If the read would block (EWOULDBLOCK) we return -1. Otherwise we return - * a regular CURLcode value. - */ static ssize_t http2_recv(struct connectdata *conn, int sockindex, char *mem, size_t len, CURLcode *err) { @@ -1497,7 +1493,6 @@ static ssize_t http2_recv(struct connectdata *conn, int sockindex, #define HEADER_OVERFLOW(x) \ (x.namelen > (uint16_t)-1 || x.valuelen > (uint16_t)-1 - x.namelen) -/* return number of received (decrypted) bytes */ static ssize_t http2_send(struct connectdata *conn, int sockindex, const void *mem, size_t len, CURLcode *err) { -- cgit v1.2.3