Loading lib/transfer.c +1 −1 Original line number Original line Diff line number Diff line Loading @@ -363,7 +363,7 @@ static int data_pending(const struct connectdata *conn) return conn->handler->protocol&(CURLPROTO_SCP|CURLPROTO_SFTP) || return conn->handler->protocol&(CURLPROTO_SCP|CURLPROTO_SFTP) || #if defined(USE_NGHTTP2) #if defined(USE_NGHTTP2) Curl_ssl_data_pending(conn, FIRSTSOCKET) || Curl_ssl_data_pending(conn, FIRSTSOCKET) || /* For HTTP/2, we may read up everything including responde body /* For HTTP/2, we may read up everything including response body with header fields in Curl_http_readwrite_headers. If no with header fields in Curl_http_readwrite_headers. If no content-length is provided, curl waits for the connection content-length is provided, curl waits for the connection close, which we emulate it using conn->proto.httpc.closed = close, which we emulate it using conn->proto.httpc.closed = Loading Loading
lib/transfer.c +1 −1 Original line number Original line Diff line number Diff line Loading @@ -363,7 +363,7 @@ static int data_pending(const struct connectdata *conn) return conn->handler->protocol&(CURLPROTO_SCP|CURLPROTO_SFTP) || return conn->handler->protocol&(CURLPROTO_SCP|CURLPROTO_SFTP) || #if defined(USE_NGHTTP2) #if defined(USE_NGHTTP2) Curl_ssl_data_pending(conn, FIRSTSOCKET) || Curl_ssl_data_pending(conn, FIRSTSOCKET) || /* For HTTP/2, we may read up everything including responde body /* For HTTP/2, we may read up everything including response body with header fields in Curl_http_readwrite_headers. If no with header fields in Curl_http_readwrite_headers. If no content-length is provided, curl waits for the connection content-length is provided, curl waits for the connection close, which we emulate it using conn->proto.httpc.closed = close, which we emulate it using conn->proto.httpc.closed = Loading