mirror of
https://github.com/curl/curl.git
synced 2026-08-25 14:53:34 +03:00
http: remove "struct HTTP"
It is not actually used anymore and only contained a dummy struct field. Remove all traces and uses of it. Closes #13927
This commit is contained in:
parent
69b6c10568
commit
7208ff6534
9 changed files with 8 additions and 52 deletions
|
|
@ -109,7 +109,7 @@ void Curl_req_hard_reset(struct SingleRequest *req, struct Curl_easy *data)
|
|||
|
||||
/* This is a bit ugly. `req->p` is a union and we assume we can
|
||||
* free this safely without leaks. */
|
||||
Curl_safefree(req->p.http);
|
||||
Curl_safefree(req->p.ftp);
|
||||
Curl_safefree(req->newurl);
|
||||
Curl_client_reset(data);
|
||||
if(req->sendbuf_init)
|
||||
|
|
@ -164,7 +164,7 @@ void Curl_req_free(struct SingleRequest *req, struct Curl_easy *data)
|
|||
{
|
||||
/* This is a bit ugly. `req->p` is a union and we assume we can
|
||||
* free this safely without leaks. */
|
||||
Curl_safefree(req->p.http);
|
||||
Curl_safefree(req->p.ftp);
|
||||
Curl_safefree(req->newurl);
|
||||
if(req->sendbuf_init)
|
||||
Curl_bufq_free(&req->sendbuf);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue