Lines Matching refs:err

457                               CURLcode *err)  in nw_in_reader()  argument
462 return Curl_conn_cf_recv(cf->next, data, (char *)buf, buflen, err); in nw_in_reader()
467 CURLcode *err) in nw_out_writer() argument
474 buflen, FALSE, err); in nw_out_writer()
638 CURLcode *err) in h2_process_pending_input() argument
652 *err = CURLE_RECV_ERROR; in h2_process_pending_input()
1767 CURLcode *err) in http2_handle_stream_close() argument
1776 *err = CURLE_RECV_ERROR; /* trigger Curl_retry_request() later */ in http2_handle_stream_close()
1786 *err = CURLE_OK; in http2_handle_stream_close()
1792 *err = CURLE_HTTP2_STREAM; in http2_handle_stream_close()
1797 *err = data->req.bytecount ? CURLE_PARTIAL_FILE : CURLE_HTTP2; in http2_handle_stream_close()
1805 *err = CURLE_HTTP2_STREAM; in http2_handle_stream_close()
1814 *err = CURLE_OK; in http2_handle_stream_close()
1821 *err = Curl_dyn_addf(&dbuf, "%.*s: %.*s\x0d\x0a", in http2_handle_stream_close()
1824 if(*err) in http2_handle_stream_close()
1828 *err = Curl_client_write(data, CLIENTWRITE_HEADER|CLIENTWRITE_TRAILER, in http2_handle_stream_close()
1830 if(*err) in http2_handle_stream_close()
1834 if(*err) in http2_handle_stream_close()
1839 *err = CURLE_OK; in http2_handle_stream_close()
1843 CURL_TRC_CF(data, cf, "handle_stream_close -> %zd, %d", rv, *err); in http2_handle_stream_close()
1929 char *buf, size_t len, CURLcode *err) in stream_recv() argument
1935 *err = CURLE_AGAIN; in stream_recv()
1938 *err = stream->xfer_result; in stream_recv()
1943 nread = http2_handle_stream_close(cf, data, stream, err); in stream_recv()
1949 *err = data->req.bytecount ? CURLE_PARTIAL_FILE : CURLE_HTTP2; in stream_recv()
1953 if(nread < 0 && *err != CURLE_AGAIN) in stream_recv()
1955 stream->id, len, nread, *err); in stream_recv()
2026 char *buf, size_t len, CURLcode *err) in cf_h2_recv() argument
2041 *err = CURLE_HTTP2; in cf_h2_recv()
2047 nread = stream_recv(cf, data, stream, buf, len, err); in cf_h2_recv()
2048 if(nread < 0 && *err != CURLE_AGAIN) in cf_h2_recv()
2052 *err = h2_progress_ingress(cf, data, len); in cf_h2_recv()
2053 if(*err) in cf_h2_recv()
2056 nread = stream_recv(cf, data, stream, buf, len, err); in cf_h2_recv()
2093 *err = result; in cf_h2_recv()
2098 stream->id, len, nread, *err, in cf_h2_recv()
2114 CURLcode *err) in cf_h2_body_send() argument
2130 *err = CURLE_OK; in cf_h2_body_send()
2135 *err = CURLE_SEND_ERROR; in cf_h2_body_send()
2139 nwritten = Curl_bufq_write(&stream->sendbuf, buf, blen, err); in cf_h2_body_send()
2150 *err = CURLE_SEND_ERROR; in cf_h2_body_send()
2160 bool eos, CURLcode *err) in h2_submit() argument
2175 *err = http2_data_setup(cf, data, &stream); in h2_submit()
2176 if(*err) { in h2_submit()
2181 nwritten = Curl_h1_req_parse_read(&stream->h1, buf, len, NULL, 0, err); in h2_submit()
2190 *err = Curl_http_req_to_h2(&h2_headers, stream->h1.req, data); in h2_submit()
2191 if(*err) { in h2_submit()
2200 *err = CURLE_OUT_OF_MEMORY; in h2_submit()
2227 *err = CURLE_SEND_ERROR; in h2_submit()
2259 ssize_t n = cf_h2_body_send(cf, data, stream, body, bodylen, eos, err); in h2_submit()
2262 else if(*err == CURLE_AGAIN) in h2_submit()
2263 *err = CURLE_OK; in h2_submit()
2264 else if(*err != CURLE_AGAIN) { in h2_submit()
2265 *err = CURLE_SEND_ERROR; in h2_submit()
2273 stream ? stream->id : -1, nwritten, *err); in h2_submit()
2282 CURLcode *err) in cf_h2_send() argument
2293 nwritten = h2_submit(&stream, cf, data, buf, len, eos, err); in cf_h2_send()
2305 nwritten = cf_h2_body_send(cf, data, stream, buf, 0, eos, err); in cf_h2_send()
2307 stream->id, nwritten, *err, eos); in cf_h2_send()
2314 nwritten = cf_h2_body_send(cf, data, stream, buf, len, eos, err); in cf_h2_send()
2316 stream->id, len, nwritten, *err, eos); in cf_h2_send()
2327 *err = CURLE_SEND_ERROR; in cf_h2_send()
2332 *err = result; in cf_h2_send()
2341 nwritten = http2_handle_stream_close(cf, data, stream, err); in cf_h2_send()
2345 *err = CURLE_HTTP2; in cf_h2_send()
2355 stream->id, len, nwritten, *err, in cf_h2_send()
2366 len, nwritten, *err, in cf_h2_send()
2959 int err = Curl_conn_get_stream_error(data, data->conn, FIRSTSOCKET); in Curl_h2_http_1_1_error() local
2960 return (err == NGHTTP2_HTTP_1_1_REQUIRED); in Curl_h2_http_1_1_error()