Lines Matching refs:result
594 CURLcode result;
597 result = Curl_rand(NULL, dest, destlen);
598 if(result) {
609 CURLcode result;
613 result = Curl_rand(NULL, cid->data, cidlen);
614 if(result)
618 result = Curl_rand(NULL, token, NGTCP2_STATELESS_RESET_TOKENLEN);
619 if(result)
711 CURLcode result;
719 result = cf_progress_ingress(cf, data, pktx);
720 if(result)
721 return result;
722 result = cf_progress_egress(cf, data, pktx);
723 if(result)
724 return result;
810 CURLcode result = CURLE_OK;
817 nwritten = Curl_bufq_write(&stream->recvbuf, mem, memlen, &result);
819 return result;
831 return result;
841 CURLcode result;
849 result = write_resp_raw(cf, data, buf, buflen, TRUE);
850 if(result) {
852 stream->id, buflen, result);
882 CURLcode result = CURLE_OK;
891 result = write_resp_raw(cf, data, "\r\n", 2, FALSE);
892 if(result) {
915 CURLcode result = CURLE_OK;
930 result = Curl_http_decode_status(&stream->status_code,
932 if(result)
937 result = write_resp_raw(cf, data, line, ncopy, FALSE);
938 if(result) {
947 result = write_resp_raw(cf, data, h3name.base, h3name.len, FALSE);
948 if(result) {
951 result = write_resp_raw(cf, data, ": ", 2, FALSE);
952 if(result) {
955 result = write_resp_raw(cf, data, h3val.base, h3val.len, FALSE);
956 if(result) {
959 result = write_resp_raw(cf, data, "\r\n", 2, FALSE);
960 if(result) {
1027 CURLcode result;
1043 result = CURLE_OUT_OF_MEMORY;
1049 result = CURLE_QUIC_CONNECT_ERROR;
1055 result = CURLE_QUIC_CONNECT_ERROR;
1061 result = CURLE_QUIC_CONNECT_ERROR;
1067 result = CURLE_QUIC_CONNECT_ERROR;
1074 result = CURLE_QUIC_CONNECT_ERROR;
1081 return result;
1435 CURLcode result;
1444 result = cf_progress_ingress(cf, data, &pktx);
1445 if(result) {
1446 *err = result;
1504 result = cf_progress_egress(cf, data, &pktx);
1505 if(result) {
1506 *err = result;
1523 result = check_and_set_expiry(cf, data, &pktx);
1524 if(result) {
1525 *err = result;
1597 CURLcode result = CURLE_OK;
1607 result = Curl_vquic_tls_before_recv(&ctx->tls, cf, data);
1608 if(result)
1609 return result;
1613 result = vquic_recv_packets(cf, data, &ctx->q, pkts_chunk,
1615 if(result) /* error */
1620 result = cf_progress_egress(cf, data, pktx);
1621 if(result) /* error */
1624 return result;
1883 CURLcode result = CURLE_OK;
1893 result = h3_data_pause(cf, data, (arg1 != 0));
1914 result = check_and_set_expiry(cf, data, NULL);
1915 if(result)
1916 CURL_TRC_CF(data, cf, "data idle, check_and_set_expiry -> %d", result);
1924 return result;
2034 CURLcode result;
2044 result = Curl_ssl_peer_init(&ctx->peer, cf);
2045 if(result)
2046 return result;
2049 result = Curl_vquic_tls_init(&ctx->tls, cf, data, &ctx->peer,
2052 if(result)
2053 return result;
2056 result = Curl_rand(data, ctx->dcid.data, NGTCP2_MAX_CIDLEN);
2057 if(result)
2058 return result;
2061 result = Curl_rand(data, ctx->scid.data, NGTCP2_MAX_CIDLEN);
2062 if(result)
2063 return result;
2069 result = vquic_ctx_init(&ctx->q);
2070 if(result)
2071 return result;
2116 CURLcode result = CURLE_OK;
2128 result = Curl_conn_cf_connect(cf->next, data, blocking, done);
2129 if(result || !*done)
2130 return result;
2147 result = cf_connect_start(cf, data, &pktx);
2148 if(result)
2150 result = cf_progress_egress(cf, data, &pktx);
2155 result = cf_progress_ingress(cf, data, &pktx);
2156 if(result)
2159 result = cf_progress_egress(cf, data, &pktx);
2160 if(result)
2167 result = qng_verify_peer(cf, data);
2168 if(!result) {
2178 if(result == CURLE_RECV_ERROR && ctx->qconn &&
2184 result = CURLE_WEIRD_SERVER_REPLY;
2188 if(result) {
2195 r_ip, r_port, curl_easy_strerror(result));
2198 if(!result && ctx->qconn) {
2199 result = check_and_set_expiry(cf, data, &pktx);
2201 if(result || *done)
2202 CURL_TRC_CF(data, cf, "connect -> %d, done=%d", result, *done);
2204 return result;
2295 CURLcode result;
2300 result = cf_progress_ingress(cf, data, NULL);
2301 CURL_TRC_CF(data, cf, "is_alive, progress ingress -> %d", result);
2302 alive = result? FALSE : TRUE;
2335 CURLcode result;
2340 result = CURLE_OUT_OF_MEMORY;
2346 result = Curl_cf_create(&cf, &Curl_cft_http3, ctx);
2347 if(result)
2350 result = Curl_cf_udp_create(&udp_cf, data, conn, ai, TRNSPRT_QUIC);
2351 if(result)
2360 *pcf = (!result)? cf : NULL;
2361 if(result) {
2367 return result;