aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2002-08-29 06:09:21 +0000
committerDaniel Stenberg <daniel@haxx.se>2002-08-29 06:09:21 +0000
commit7140baae7280e8ba120f12652a3e7d39b7d2ec66 (patch)
tree53f73339e851d0863fdcc7e42e20f9f0abae89e5
parent27a2e590cd64cd6f31472681f0e61167b729e005 (diff)
remove the data and conn fields from the Curl_transfer_keeper struct, they
weren't used anyway and mostly caused confusion
-rw-r--r--lib/transfer.c1
-rw-r--r--lib/urldata.h3
2 files changed, 0 insertions, 4 deletions
diff --git a/lib/transfer.c b/lib/transfer.c
index 0b0563f41..20088b17d 100644
--- a/lib/transfer.c
+++ b/lib/transfer.c
@@ -960,7 +960,6 @@ CURLcode Curl_readwrite_init(struct connectdata *conn)
k->now = k->start; /* current time is now */
k->header = TRUE; /* assume header */
k->httpversion = -1; /* unknown at this point */
- k->conn = (struct connectdata *)conn; /* store the connection */
data = conn->data; /* there's the root struct */
k->buf = data->state.buffer;
diff --git a/lib/urldata.h b/lib/urldata.h
index ce15dbf9f..6acb8d816 100644
--- a/lib/urldata.h
+++ b/lib/urldata.h
@@ -248,9 +248,6 @@ struct Curl_transfer_keeper {
long bodywrites;
int writetype;
- /* the highest fd we use + 1 */
- struct SessionHandle *data;
- struct connectdata *conn;
char *buf;
char *uploadbuf;
int maxfd;