Lines Matching defs:SingleRequest

545 struct SingleRequest {  struct
546 curl_off_t size; /* -1 if unknown at this point */
547 curl_off_t maxdownload; /* in bytes, the maximum amount of data to fetch,
549 curl_off_t bytecount; /* total number of bytes read */
550 curl_off_t writebytecount; /* number of bytes written */
552 curl_off_t headerbytecount; /* only count received headers */
553 curl_off_t deductheadercount; /* this amount of bytes doesn't count when we
560 struct curltime start; /* transfer started at this time */
561 struct curltime now; /* current time */
562 enum {
567 } badheader; /* the header was deemed bad and will be
569 int headerline; /* counts header lines to better track the
571 char *hbufp; /* points at *end* of header line */
572 size_t hbuflen;
573 char *str; /* within buf */
574 char *str_start; /* within buf */
575 char *end_ptr; /* within buf */
576 char *p; /* within headerbuff */
577 curl_off_t offset; /* possible resume offset read from the
579 int httpcode; /* error code from the 'HTTP/1.? XXX' or
581 struct curltime start100; /* time stamp to wait for the 100 code from */
582 enum expect100 exp100; /* expect 100 continue state */
583 enum upgrade101 upgr101; /* 101 upgrade state */
585 struct contenc_writer_s *writer_stack; /* Content unencoding stack. */
587 time_t timeofdoc;
588 long bodywrites;
589 char *buf;
590 int keepon;
591 char *location; /* This points to an allocated version of the Location:
593 char *newurl; /* Set to the new URL to use when a redirect or a retry is
598 ssize_t upload_present;
604 char *upload_fromhere;
605 void *protop; /* Allocated protocol-specific data. Each protocol
607 struct dohdata doh; /* DoH specific data for this request */
608 bit header:1; /* incoming data has HTTP header */
609 bit content_range:1; /* set TRUE if Content-Range: was found */
610 bit upload_done:1; /* set to TRUE when doing chunked transfer-encoding
612 bit ignorebody:1; /* we read a response-body but we ignore it! */
613 bit ignorecl:1; /* This HTTP response has no body so we ignore the
615 bit chunk:1; /* if set, this is a chunked transfer-encoding */
616 bit upload_chunky:1; /* set TRUE if we are doing chunked transfer-encoding
618 bit getheader:1; /* TRUE if header parsing is wanted */
619 bit forbidchunk:1; /* used only to explicitly forbid chunk-upload for