mirror of
https://github.com/curl/curl.git
synced 2026-08-25 17:13:31 +03:00
tidy-up: apply clang-format fixes
To lib, vtls/vauth, vtls/vquic, lib/vtls.
Also:
- unit3400: drop redundant `(void)arg`.
Follow-up to e78b1b3ecc #21153
- fix comment typos.
Closes #21786
This commit is contained in:
parent
cdb266738b
commit
59320082b0
50 changed files with 263 additions and 289 deletions
12
lib/http2.c
12
lib/http2.c
|
|
@ -1701,12 +1701,12 @@ static CURLcode http2_handle_stream_close(struct Curl_cfilter *cf,
|
|||
return CURLE_RECV_ERROR; /* trigger Curl_retry_request() later */
|
||||
}
|
||||
else if(stream->resp_hds_complete && data->req.no_body) {
|
||||
CURL_TRC_CF(data, cf, "[%d] error after response headers, but we did "
|
||||
"not want a body anyway, ignore: %s (err %u)",
|
||||
stream->id, nghttp2_http2_strerror(stream->error),
|
||||
stream->error);
|
||||
stream->close_handled = TRUE;
|
||||
return CURLE_OK;
|
||||
CURL_TRC_CF(data, cf, "[%d] error after response headers, but we did "
|
||||
"not want a body anyway, ignore: %s (err %u)",
|
||||
stream->id, nghttp2_http2_strerror(stream->error),
|
||||
stream->error);
|
||||
stream->close_handled = TRUE;
|
||||
return CURLE_OK;
|
||||
}
|
||||
failf(data, "HTTP/2 stream %d reset by %s (error 0x%x %s)",
|
||||
stream->id, stream->reset_by_server ? "server" : "curl",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue