]> granicus.if.org Git - curl/commitdiff
Curl_easy: remove req.maxfd - never used!
authorDaniel Stenberg <daniel@haxx.se>
Thu, 28 Feb 2019 09:47:55 +0000 (10:47 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 28 Feb 2019 14:27:32 +0000 (15:27 +0100)
Introduced in 8b6314ccfb, but not used anymore in current code. Unclear
since when.

Closes #3626

lib/multi.c
lib/urldata.h

index 06aaed26a807fed7e424f5b40885644ddd834039..c7f362dbf2cd0ea3a82a1bb57ba43d5b422f7bd6 100644 (file)
@@ -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);
 }
 
index da2513f82f0661c80fe985a31245e6967fcc767f..9bbece35fb4d2d11a82808d2803c86822dd6dade 100644 (file)
@@ -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 */