mirror of
https://github.com/curl/curl.git
synced 2026-04-15 00:41:41 +03:00
h3/ngtcp2: close just-opened QUIC stream when submit_request fails
Closes #18904
This commit is contained in:
parent
4e77388a0b
commit
38ab421f60
1 changed files with 1 additions and 0 deletions
|
|
@ -1607,6 +1607,7 @@ static CURLcode h3_stream_open(struct Curl_cfilter *cf,
|
|||
"%d (%s)", stream->id, rc, nghttp3_strerror(rc));
|
||||
break;
|
||||
}
|
||||
cf_ngtcp2_stream_close(cf, data, stream);
|
||||
result = CURLE_SEND_ERROR;
|
||||
goto out;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue