Lines Matching defs:SingleRequest
631 struct SingleRequest { struct
632 curl_off_t size; /* -1 if unknown at this point */
633 curl_off_t maxdownload; /* in bytes, the maximum amount of data to fetch,
635 curl_off_t bytecount; /* total number of bytes read */
636 curl_off_t writebytecount; /* number of bytes written */
638 curl_off_t headerbytecount; /* only count received headers */
639 curl_off_t deductheadercount; /* this amount of bytes doesn't count when we
646 curl_off_t pendingheader; /* this many bytes left to send is actually
648 struct curltime start; /* transfer started at this time */
649 struct curltime now; /* current time */
650 enum {
655 } badheader; /* the header was deemed bad and will be
657 int headerline; /* counts header lines to better track the
659 char *str; /* within buf */
660 curl_off_t offset; /* possible resume offset read from the
662 int httpcode; /* error code from the 'HTTP/1.? XXX' or
664 int keepon;
665 struct curltime start100; /* time stamp to wait for the 100 code from */
666 enum expect100 exp100; /* expect 100 continue state */
667 enum upgrade101 upgr101; /* 101 upgrade state */
670 struct contenc_writer *writer_stack;
671 time_t timeofdoc;
672 long bodywrites;
673 char *location; /* This points to an allocated version of the Location:
675 char *newurl; /* Set to the new URL to use when a redirect or a retry is
680 ssize_t upload_present;
686 char *upload_fromhere;
690 union {
703 } p;
705 struct dohdata *doh; /* DoH specific data for this request */