From 4ff055530d16188c20eaec968d6b2ac7935b2497 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 28 Feb 2019 10:47:55 +0100 Subject: Curl_easy: remove req.maxfd - never used! Introduced in 8b6314ccfb, but not used anymore in current code. Unclear since when. Closes #3626 --- lib/multi.c | 2 -- lib/urldata.h | 1 - 2 files changed, 3 deletions(-) (limited to 'lib') 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 */ -- cgit v1.2.3