Lines Matching refs:err

238                                   CURLcode *err)  in proxy_nw_in_reader()  argument
245 nread = Curl_conn_cf_recv(cf->next, data, (char *)buf, buflen, err); in proxy_nw_in_reader()
247 buflen, nread, *err); in proxy_nw_in_reader()
257 CURLcode *err) in proxy_h2_nw_out_writer() argument
265 FALSE, err); in proxy_h2_nw_out_writer()
267 buflen, nwritten, *err); in proxy_h2_nw_out_writer()
445 CURLcode *err) in proxy_h2_process_pending_input() argument
460 *err = CURLE_RECV_ERROR; in proxy_h2_process_pending_input()
1280 CURLcode *err) in h2_handle_tunnel_close() argument
1289 *err = CURLE_RECV_ERROR; /* trigger Curl_retry_request() later */ in h2_handle_tunnel_close()
1296 *err = CURLE_HTTP2_STREAM; in h2_handle_tunnel_close()
1301 *err = CURLE_RECV_ERROR; in h2_handle_tunnel_close()
1305 *err = CURLE_OK; in h2_handle_tunnel_close()
1308 ctx->tunnel.stream_id, rv, *err); in h2_handle_tunnel_close()
1313 char *buf, size_t len, CURLcode *err) in tunnel_recv() argument
1318 *err = CURLE_AGAIN; in tunnel_recv()
1321 (unsigned char *)buf, len, err); in tunnel_recv()
1329 nread = h2_handle_tunnel_close(cf, data, err); in tunnel_recv()
1335 *err = CURLE_RECV_ERROR; in tunnel_recv()
1340 *err = CURLE_AGAIN; in tunnel_recv()
1346 ctx->tunnel.stream_id, len, nread, *err); in tunnel_recv()
1352 char *buf, size_t len, CURLcode *err) in cf_h2_proxy_recv() argument
1360 *err = CURLE_RECV_ERROR; in cf_h2_proxy_recv()
1366 *err = proxy_h2_progress_ingress(cf, data); in cf_h2_proxy_recv()
1367 if(*err) in cf_h2_proxy_recv()
1371 nread = tunnel_recv(cf, data, buf, len, err); in cf_h2_proxy_recv()
1381 *err = result; in cf_h2_proxy_recv()
1387 (nread >= 0 || *err == CURLE_AGAIN)) { in cf_h2_proxy_recv()
1393 ctx->tunnel.stream_id, len, nread, *err); in cf_h2_proxy_recv()
1401 CURLcode *err) in cf_h2_proxy_send() argument
1411 *err = CURLE_SEND_ERROR; in cf_h2_proxy_send()
1418 *err = CURLE_SEND_ERROR; in cf_h2_proxy_send()
1422 nwritten = Curl_bufq_write(&ctx->tunnel.sendbuf, buf, len, err); in cf_h2_proxy_send()
1423 if(nwritten < 0 && (*err != CURLE_AGAIN)) in cf_h2_proxy_send()
1431 *err = CURLE_SEND_ERROR; in cf_h2_proxy_send()
1439 *err = result; in cf_h2_proxy_send()
1448 *err = result; in cf_h2_proxy_send()
1457 *err = CURLE_SEND_ERROR; in cf_h2_proxy_send()
1462 *err = CURLE_HTTP2; in cf_h2_proxy_send()
1469 (nwritten >= 0 || *err == CURLE_AGAIN)) { in cf_h2_proxy_send()
1476 ctx->tunnel.stream_id, len, nwritten, *err, in cf_h2_proxy_send()