1
0
mirror of https://github.com/moparisthebest/curl synced 2024-08-13 17:03:50 -04:00

Curl_easy: remove req.maxfd - never used!

Introduced in 8b6314ccfb, but not used anymore in current code. Unclear
since when.

Closes #3626
This commit is contained in:
Daniel Stenberg 2019-02-28 10:47:55 +01:00
parent f1d915ea49
commit 4ff055530d
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2
2 changed files with 0 additions and 3 deletions

View File

@ -1253,8 +1253,6 @@ static CURLcode multi_reconnect_request(struct Curl_easy *data)
static void do_complete(struct connectdata *conn) static void do_complete(struct connectdata *conn)
{ {
conn->data->req.chunk = FALSE; conn->data->req.chunk = FALSE;
conn->data->req.maxfd = (conn->sockfd>conn->writesockfd?
conn->sockfd:conn->writesockfd) + 1;
Curl_pgrsTime(conn->data, TIMER_PRETRANSFER); Curl_pgrsTime(conn->data, TIMER_PRETRANSFER);
} }

View File

@ -584,7 +584,6 @@ struct SingleRequest {
time_t timeofdoc; time_t timeofdoc;
long bodywrites; long bodywrites;
char *buf; char *buf;
curl_socket_t maxfd;
int keepon; int keepon;
char *location; /* This points to an allocated version of the Location: char *location; /* This points to an allocated version of the Location:
header data */ header data */