Lines Matching refs:err
104 static const char *osslq_SSL_ERROR_to_str(int err) in osslq_SSL_ERROR_to_str() argument
106 switch(err) { in osslq_SSL_ERROR_to_str()
370 int err = SSL_get_error(ctx->tls.ossl.ssl, rc); in cf_osslq_shutdown() local
372 switch(err) { in cf_osslq_shutdown()
394 osslq_SSL_ERROR_to_str(err)), in cf_osslq_shutdown()
1263 CURLcode *err) in h3_quic_recv() argument
1269 *err = CURLE_OK; in h3_quic_recv()
1274 *err = CURLE_AGAIN; in h3_quic_recv()
1297 *err = cf_osslq_ssl_err(x->cf, x->data, detail, CURLE_RECV_ERROR); in h3_quic_recv()
1671 int err; in cf_osslq_connect() local
1713 err = SSL_do_handshake(ctx->tls.ossl.ssl); in cf_osslq_connect()
1715 if(err == 1) { in cf_osslq_connect()
1731 int detail = SSL_get_error(ctx->tls.ossl.ssl, err); in cf_osslq_connect()
1790 CURLcode *err) in h3_stream_open() argument
1805 *err = h3_data_setup(cf, data); in h3_stream_open()
1806 if(*err) in h3_stream_open()
1811 *err = CURLE_FAILED_INIT; in h3_stream_open()
1815 nwritten = Curl_h1_req_parse_read(&stream->h1, buf, len, NULL, 0, err); in h3_stream_open()
1824 *err = Curl_http_req_to_h2(&h2_headers, stream->h1.req, data); in h3_stream_open()
1825 if(*err) { in h3_stream_open()
1835 *err = CURLE_OUT_OF_MEMORY; in h3_stream_open()
1850 *err = cf_osslq_stream_open(&stream->s, ctx->tls.ossl.ssl, 0, in h3_stream_open()
1852 if(*err) { in h3_stream_open()
1854 *err = CURLE_SEND_ERROR; in h3_stream_open()
1895 *err = CURLE_SEND_ERROR; in h3_stream_open()
1919 CURLcode *err) in cf_osslq_send() argument
1932 *err = CURLE_OK; in cf_osslq_send()
1936 *err = result; in cf_osslq_send()
1943 *err = result; in cf_osslq_send()
1949 nwritten = h3_stream_open(cf, data, buf, len, err); in cf_osslq_send()
1951 CURL_TRC_CF(data, cf, "failed to open stream -> %d", *err); in cf_osslq_send()
1965 *err = CURLE_OK; in cf_osslq_send()
1971 *err = CURLE_HTTP3; in cf_osslq_send()
1976 nwritten = Curl_bufq_write(&stream->sendbuf, buf, len, err); in cf_osslq_send()
1979 stream->s.id, len, nwritten, *err); in cf_osslq_send()
1989 *err = result; in cf_osslq_send()
1996 stream ? stream->s.id : -1, len, nwritten, *err); in cf_osslq_send()
2004 CURLcode *err) in recv_closed_stream() argument
2013 *err = data->req.bytecount ? CURLE_PARTIAL_FILE : CURLE_HTTP3; in recv_closed_stream()
2022 *err = CURLE_HTTP3; in recv_closed_stream()
2025 *err = CURLE_OK; in recv_closed_stream()
2033 char *buf, size_t len, CURLcode *err) in cf_osslq_recv() argument
2047 *err = CURLE_OK; in cf_osslq_recv()
2050 *err = CURLE_RECV_ERROR; in cf_osslq_recv()
2056 (unsigned char *)buf, len, err); in cf_osslq_recv()
2059 "-> %zd, %d", stream->s.id, len, nread, *err); in cf_osslq_recv()
2066 *err = result; in cf_osslq_recv()
2074 (unsigned char *)buf, len, err); in cf_osslq_recv()
2077 "-> %zd, %d", stream->s.id, len, nread, *err); in cf_osslq_recv()
2087 nread = recv_closed_stream(cf, data, stream, err); in cf_osslq_recv()
2090 *err = CURLE_AGAIN; in cf_osslq_recv()
2096 *err = CURLE_SEND_ERROR; in cf_osslq_recv()
2102 *err = result2; in cf_osslq_recv()
2107 stream ? stream->s.id : -1, len, nread, *err); in cf_osslq_recv()