lib: rename struct 'http_req' to 'httpreq'

Because FreeBSD 14 kidnapped the name.
Ref: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=271526

Fixes #11163
Closes #11164
This commit is contained in:
Daniel Stenberg 2023-05-20 11:55:20 +02:00
parent 36e998b18b
commit 54ce13d3ff
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
4 changed files with 17 additions and 17 deletions

View file

@ -777,7 +777,7 @@ static CURLcode h2_submit(int32_t *pstream_id,
struct Curl_cfilter *cf,
struct Curl_easy *data,
nghttp2_session *h2,
struct http_req *req,
struct httpreq *req,
const nghttp2_priority_spec *pri_spec,
void *stream_user_data,
nghttp2_data_source_read_callback read_callback,
@ -846,7 +846,7 @@ static CURLcode submit_CONNECT(struct Curl_cfilter *cf,
{
struct cf_h2_proxy_ctx *ctx = cf->ctx;
CURLcode result;
struct http_req *req = NULL;
struct httpreq *req = NULL;
infof(data, "Establish HTTP/2 proxy tunnel to %s", ts->authority);