(const char *)h3name.base, h3name.len,
(const char *)h3val.base, h3val.len);
if(result) {
- return -1;
+ return NGHTTP3_ERR_CALLBACK_FAILURE;
}
}
return 0;
data = CF_DATA_CURRENT(cf);
DEBUGASSERT(data);
if(!ctx || !data)
- return NGHTTP3_ERR_CALLBACK_FAILURE;
+ return NGTCP2_ERR_CALLBACK_FAILURE;
ctx->handshake_at = *Curl_pgrs_now(data);
ctx->tls_handshake_complete = TRUE;
CURLcode result = cf_ngtcp2_h3conn_init(cf, data);
if(result) {
CURL_TRC_CF(data, cf, "HTTP/3 initialization failed: %d", result);
- return NGHTTP3_ERR_CALLBACK_FAILURE;
+ return NGTCP2_ERR_CALLBACK_FAILURE;
}
}
self, env: Env, httpd, nghttpx, nghttpx_fwd
):
_require_available(
- httpd=httpd, nghttpx=nghttpx, nghttps_fwd=nghttpx_fwd
+ httpd=httpd, nghttpx=nghttpx, nghttpx_fwd=nghttpx_fwd
)
curl = CurlClient(env=env)
url = f"https://localhost:{httpd.ports['https']}/data.json"