Lines Matching defs:SingleRequest
60 struct SingleRequest { struct
61 curl_off_t size; /* -1 if unknown at this point */
62 curl_off_t maxdownload; /* in bytes, the maximum amount of data to fetch,
64 curl_off_t bytecount; /* total number of bytes read */
65 curl_off_t writebytecount; /* number of bytes written */
67 struct curltime start; /* transfer started at this time */
68 unsigned int headerbytecount; /* received server headers (not CONNECT
70 unsigned int allheadercount; /* all received headers (server + CONNECT) */
71 unsigned int deductheadercount; /* this amount of bytes doesn't count when
77 int headerline; /* counts header lines to better track the
79 curl_off_t offset; /* possible resume offset read from the
81 int httpversion; /* Version in response (09, 10, 11, etc.) */
82 int httpcode; /* error code from the 'HTTP/1.? XXX' or
84 int keepon;
85 enum upgrade101 upgr101; /* 101 upgrade state */
89 struct Curl_cwriter *writer_stack;
92 struct Curl_creader *reader_stack;
93 struct bufq sendbuf; /* data which needs to be send to the server */
94 size_t sendbuf_hds_len; /* amount of header bytes in sendbuf */
95 time_t timeofdoc;
96 long bodywrites;
97 char *location; /* This points to an allocated version of the Location:
99 char *newurl; /* Set to the new URL to use when a redirect or a retry is
104 union {
117 } p;
119 struct dohdata *doh; /* DoH specific data for this request */
122 unsigned char setcookies;