Lines Matching refs:err

413                                 CURLcode *err)  in stream_resp_read()  argument
421 *err = CURLE_RECV_ERROR; in stream_resp_read()
428 *err = CURLE_OK; in stream_resp_read()
432 *err = CURLE_AGAIN; in stream_resp_read()
702 CURLcode *err) in read_pkt_to_send() argument
710 *err = CURLE_AGAIN; in read_pkt_to_send()
716 *err = CURLE_SEND_ERROR; in read_pkt_to_send()
719 *err = CURLE_OK; in read_pkt_to_send()
811 CURLcode *err) in recv_closed_stream() argument
821 *err = data->req.bytecount ? CURLE_PARTIAL_FILE : CURLE_HTTP3; in recv_closed_stream()
823 stream->id, *err); in recv_closed_stream()
831 *err = CURLE_HTTP3; in recv_closed_stream()
833 " -> %d", stream->id, *err); in recv_closed_stream()
836 *err = CURLE_OK; in recv_closed_stream()
843 char *buf, size_t len, CURLcode *err) in cf_quiche_recv() argument
853 *err = CURLE_RECV_ERROR; in cf_quiche_recv()
859 (unsigned char *)buf, len, err); in cf_quiche_recv()
861 "-> %zd, %d", stream->id, len, nread, *err); in cf_quiche_recv()
868 *err = CURLE_RECV_ERROR; in cf_quiche_recv()
876 (unsigned char *)buf, len, err); in cf_quiche_recv()
878 "-> %zd, %d", stream->id, len, nread, *err); in cf_quiche_recv()
889 nread = recv_closed_stream(cf, data, err); in cf_quiche_recv()
894 *err = CURLE_HTTP3; in cf_quiche_recv()
898 *err = CURLE_AGAIN; in cf_quiche_recv()
906 *err = result; in cf_quiche_recv()
913 stream->id, ctx->data_recvd, nread, *err); in cf_quiche_recv()
921 CURLcode *err) in cf_quiche_send_body() argument
936 *err = CURLE_AGAIN; in cf_quiche_send_body()
942 *err = CURLE_HTTP3; in cf_quiche_send_body()
948 *err = CURLE_SEND_ERROR; in cf_quiche_send_body()
954 *err = CURLE_SEND_ERROR; in cf_quiche_send_body()
963 *err = CURLE_OK; in cf_quiche_send_body()
975 CURLcode *err) in h3_open_stream() argument
986 *err = h3_data_setup(cf, data); in h3_open_stream()
987 if(*err) { in h3_open_stream()
997 nwritten = Curl_h1_req_parse_read(&stream->h1, buf, len, NULL, 0, err); in h3_open_stream()
1006 *err = Curl_http_req_to_h2(&h2_headers, stream->h1.req, data); in h3_open_stream()
1007 if(*err) { in h3_open_stream()
1017 *err = CURLE_OUT_OF_MEMORY; in h3_open_stream()
1041 *err = CURLE_AGAIN; in h3_open_stream()
1049 *err = CURLE_SEND_ERROR; in h3_open_stream()
1055 *err = CURLE_OK; in h3_open_stream()
1077 buf + hds_len, len - hds_len, eos, err); in h3_open_stream()
1078 if((bwritten < 0) && (CURLE_AGAIN != *err)) { in h3_open_stream()
1095 CURLcode *err) in cf_quiche_send() argument
1104 *err = cf_process_ingress(cf, data); in cf_quiche_send()
1105 if(*err) { in cf_quiche_send()
1111 nwritten = h3_open_stream(cf, data, buf, len, eos, err); in cf_quiche_send()
1128 *err = CURLE_OK; in cf_quiche_send()
1134 *err = CURLE_HTTP3; in cf_quiche_send()
1139 nwritten = cf_quiche_send_body(cf, data, stream, buf, len, eos, err); in cf_quiche_send()
1145 *err = result; in cf_quiche_send()
1149 stream ? stream->id : (curl_uint64_t)~0, len, nwritten, *err); in cf_quiche_send()
1486 int err; in cf_quiche_shutdown() local
1490 err = quiche_conn_close(ctx->qconn, TRUE, 0, NULL, 0); in cf_quiche_shutdown()
1491 if(err) { in cf_quiche_shutdown()
1493 "aborting shutdown", err); in cf_quiche_shutdown()