mirror of
https://github.com/curl/curl.git
synced 2026-08-02 08:40:27 +03:00
h3-proxy: fix callback return values, and a typo in tests
- replace literal -1 with `NGHTTP3_ERR_CALLBACK_FAILURE` in nghttp3
callback.
- replace `NGHTTP3_ERR_CALLBACK_FAILURE` with
`NGTCP2_ERR_CALLBACK_FAILURE` in ngtcp2 callbacks.
- test_60_h3_proxy: fix non-critical typo in symbol.
Spotted by GitHub Code Quality
Follow-up to e78b1b3ecc #21153
Closes #21802
This commit is contained in:
parent
5e66176733
commit
c37405cb06
2 changed files with 4 additions and 4 deletions
|
|
@ -571,7 +571,7 @@ class TestH3ProxyUdpTunnel:
|
|||
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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue