aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2019-02-28 10:47:55 +0100
committerDaniel Stenberg <daniel@haxx.se>2019-02-28 15:27:32 +0100
commit4ff055530d16188c20eaec968d6b2ac7935b2497 (patch)
treeed2a3c76ba807d83a0bfcf03326924d8740c2f08
parentf1d915ea494427ce6670f1a12fbcf0b811ae6a97 (diff)
Curl_easy: remove req.maxfd - never used!
Introduced in 8b6314ccfb, but not used anymore in current code. Unclear since when. Closes #3626
-rw-r--r--lib/multi.c2
-rw-r--r--lib/urldata.h1
2 files changed, 0 insertions, 3 deletions
diff --git a/lib/multi.c b/lib/multi.c
index 06aaed26a..c7f362dbf 100644
--- a/lib/multi.c
+++ b/lib/multi.c
@@ -1253,8 +1253,6 @@ static CURLcode multi_reconnect_request(struct Curl_easy *data)
static void do_complete(struct connectdata *conn)
{
conn->data->req.chunk = FALSE;
- conn->data->req.maxfd = (conn->sockfd>conn->writesockfd?
- conn->sockfd:conn->writesockfd) + 1;
Curl_pgrsTime(conn->data, TIMER_PRETRANSFER);
}
diff --git a/lib/urldata.h b/lib/urldata.h
index da2513f82..9bbece35f 100644
--- a/lib/urldata.h
+++ b/lib/urldata.h
@@ -584,7 +584,6 @@ struct SingleRequest {
time_t timeofdoc;
long bodywrites;
char *buf;
- curl_socket_t maxfd;
int keepon;
char *location; /* This points to an allocated version of the Location:
header data */