mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05:00
remove the data and conn fields from the Curl_transfer_keeper struct, they
weren't used anyway and mostly caused confusion
This commit is contained in:
parent
27a2e590cd
commit
7140baae72
@ -960,7 +960,6 @@ CURLcode Curl_readwrite_init(struct connectdata *conn)
|
|||||||
k->now = k->start; /* current time is now */
|
k->now = k->start; /* current time is now */
|
||||||
k->header = TRUE; /* assume header */
|
k->header = TRUE; /* assume header */
|
||||||
k->httpversion = -1; /* unknown at this point */
|
k->httpversion = -1; /* unknown at this point */
|
||||||
k->conn = (struct connectdata *)conn; /* store the connection */
|
|
||||||
|
|
||||||
data = conn->data; /* there's the root struct */
|
data = conn->data; /* there's the root struct */
|
||||||
k->buf = data->state.buffer;
|
k->buf = data->state.buffer;
|
||||||
|
@ -248,9 +248,6 @@ struct Curl_transfer_keeper {
|
|||||||
long bodywrites;
|
long bodywrites;
|
||||||
int writetype;
|
int writetype;
|
||||||
|
|
||||||
/* the highest fd we use + 1 */
|
|
||||||
struct SessionHandle *data;
|
|
||||||
struct connectdata *conn;
|
|
||||||
char *buf;
|
char *buf;
|
||||||
char *uploadbuf;
|
char *uploadbuf;
|
||||||
int maxfd;
|
int maxfd;
|
||||||
|
Loading…
Reference in New Issue
Block a user