• Home
  • Raw
  • Download

Lines Matching +full:- +full:- +full:no +full:- +full:transfer +full:- +full:progress

23  * SPDX-License-Identifier: curl
138 /* return the count of bytes sent, or -1 on error */
139 typedef ssize_t (Curl_send)(struct Curl_easy *data, /* transfer */
145 /* return the count of bytes read, or -1 on error */
146 typedef ssize_t (Curl_recv)(struct Curl_easy *data, /* transfer */
173 #include "c-hyper.h"
174 #include "cf-socket.h"
212 ((x) && ((x)->magic == CURLEASY_MAGIC_NUMBER))
215 /* Types needed for krb5-ftp connections */
250 /* SSL backend-specific data; declared differently by each SSL backend */
315 int conn_to_port; /* remote port for the connection (may be -1) */
323 /* Struct used for Digest challenge-response authentication */
342 BIT(stale); /* set true for re-negotiation */
381 /* Struct used for SCRAM-SHA-1 authentication */
390 /* Struct used for NTLM challenge-response authentication */
413 void *target_info; /* TargetInfo received in the ntlm type-2 message */
419 char *challenge; /* The received base64 encoded ntlm type-2 message */
420 char *response; /* The generated base64 ntlm type-1/type-3 message */
460 #define CONN_IS_PROXIED(x) x->bits.proxy
468 BIT(httpproxy); /* if set, this transfer is done through an HTTP proxy */
469 BIT(socksproxy); /* if set, this transfer is done through a socks proxy */
472 This is implicit when SSL-protocols are used through
478 BIT(proxy); /* if set, this transfer is done through a proxy - any type */
482 BIT(reuse); /* if set, this is a re-used connection */
483 BIT(altused); /* this is an alt-svc "redirect" */
491 BIT(do_more); /* this is set TRUE if the ->curl_do_more() function is
492 supposed to be called, after ->curl_do() */
496 re-attempted at another connection. */
534 char *encalloc; /* allocated IDN-encoded version of the name */
546 #define KEEP_RECV_HOLD (1<<2) /* when set, no reading should be done but there
548 #define KEEP_SEND_HOLD (1<<3) /* when set, no writing should be done but there
562 void *resolver; /* resolver state, if it is used in the URL state -
591 /* Explicit values for first two symbols so as to match hard-coded
597 /* Space here for (possibly build-specific) additional slot definitions */
611 * now be shared between different Curl_easys, we store connection-specific
616 curl_off_t size; /* -1 if unknown at this point */
618 -1 means unlimited */
632 struct curltime start; /* transfer started at this time */
634 HEADER_NORMAL, /* no bad header at all */
644 Content-Range: header */
665 /* 'upload_fromhere' is used as a read-pointer when we uploaded parts of a
671 /* Allocated protocol-specific data. Each protocol handler makes sure this
697 BIT(content_range); /* set TRUE if Content-Range: was found */
698 BIT(upload_done); /* set to TRUE when doing chunked transfer-encoding
700 BIT(ignorebody); /* we read a response-body but we ignore it! */
703 BIT(chunk); /* if set, this is a chunked transfer-encoding */
704 BIT(ignore_cl); /* ignore content-length */
705 BIT(upload_chunky); /* set TRUE if we are doing chunked transfer-encoding
708 BIT(forbidchunk); /* used only to explicitly forbid chunk-upload for
711 BIT(no_body); /* the response has no body */
722 transfer "owns" the connection. */
736 /* This function *MAY* be set to a protocol-dependent function that is run
769 /* This function *MAY* be set to a protocol-dependent function that is run
773 * the transfer here.
778 /* If used, this function gets called from transfer.c:readwrite_data() to
790 /* attach() attaches this transfer to this connection */
794 curl_prot_t protocol; /* See CURLPROTO_* - this needs to be the single
797 non-TLS name of the protocol this is */
822 #define PROTOPT_PROXY_AS_HTTP (1<<11) /* allow this non-HTTP scheme over a
830 #define CONNCHECK_NONE 0 /* No checks */
834 #define CONNRESULT_NONE 0 /* No extra information. */
872 #define CONN_INUSE(c) ((c)->easyq.size)
880 multi_done(). This entry will be NULL if the connection is re-used as then
881 there is no name resolve done. */
914 transfer when doing FTP */
923 struct ConnectBits bits; /* various state-flags for this connection */
952 #if defined(USE_KERBEROS5) /* Consider moving some of the above GSS-API */
960 /*************** Request - specific items ************/
988 /* for chunked-encoded trailer */
1032 /* if set, an alternative data transfer function */
1038 that subsequent bound-requested connections aren't accidentally re-using
1048 int port; /* which port to use locally - to connect to */
1077 time_t filetime; /* If requested, this is might get set. Set to -1 if the
1086 curl_off_t retry_after; /* info from Retry-After: header */
1091 the session handle is no longer associated with a connection, and also
1116 struct Progress { struct
1117 time_t lastshow; /* time() of the last displayed progress meter or NULL to
1124 curl_off_t current_speed; /* uses the currently fastest transfer */
1127 int flags; /* see progress.h */
1159 BIT(callback); /* set when progress callback is used */
1189 BIT(iestyle); /* TRUE if digest should be done IE-style or FALSE if it
1235 EXPIRE_HAPPY_EYEBALLS_DNS, /* See asyn-ares.c */
1282 struct curltime keeps_speed; /* for the progress meter really */
1284 long lastconnect_id; /* The last connection, -1 if undefined */
1294 no else. Used to make Location: following not keep sending user+password.
1304 unsigned int tempcount; /* number of entries in use in tempwrite, 0 - 3 */
1310 /* storage for the previous bag^H^H^HSIGPIPE signal handler :-) */
1334 unsigned char httpwant; /* when non-zero, a specific HTTP version requested
1340 /* do FTP line-end conversions on most platforms */
1349 curl_off_t resume_from; /* continue [ftp] transfer from here */
1358 curl_off_t infilesize; /* size of file to upload, -1 means unknown.
1364 struct Curl_data_priority priority; /* shallow copy of data->set */
1406 /* transfer credentials */
1431 BIT(expect100header); /* TRUE if we added Expect: 100-continue */
1439 BIT(previouslypending); /* this transfer WAS in the multi->pending queue */
1480 STRING_ENCODING, /* Accept-Encoding string */
1508 STRING_USERAGENT, /* User-Agent string */
1550 /* -- end of null-terminated strings -- */
1554 /* -- below this are pointers to binary data that cannot be strdup'ed. --- */
1560 STRING_LAST /* not used, just an end-of-list marker */
1586 void *writeheader; /* write the header to this if non-NULL */
1590 long maxredirs; /* maximum no. of http(s) redirects to follow, set to -1
1606 curl_progress_callback fprogress; /* OLD and deprecated progress callback */
1607 curl_xferinfo_callback fxferinfo; /* progress callback */
1619 curl_prereq_callback fprereq; /* pre-initial request callback */
1620 void *prereq_userp; /* pre-initial request user data */
1635 void *progress_client; /* pointer to pass to the progress callback */
1637 unsigned int timeout; /* ms, 0 means no timeout */
1638 unsigned int connecttimeout; /* ms, 0 means no timeout */
1640 unsigned int server_response_timeout; /* ms, 0 means no timeout */
1648 curl_off_t filesize; /* size of file to upload, -1 means unknown */
1654 curl_off_t set_resume_from; /* continue [ftp] transfer from here */
1668 unsigned char httpwant; /* when non-zero, a specific HTTP version requested
1674 unsigned short proxyport; /* If non-zero, use this port number by
1685 void *private_data; /* application-private data */
1690 file 0 - whatever, 1 - v2, 2 - v6 */
1696 unsigned int accepttimeout; /* in milliseconds, 0 means no timeout */
1700 struct curl_slist *postquote; /* after the transfer */
1701 struct curl_slist *prequote; /* before the transfer, after type */
1703 1 - create directories that don't exist
1704 2 - the same but also allow MKD to fail once
1733 void *rtp_out; /* write RTP to this if non-NULL */
1738 curl_chunk_bgn_callback chunk_bgn; /* called before part of transfer
1747 /* GSS-API credential delegation, see the documentation of
1766 struct Curl_easy *dohfor; /* this is a DoH request for that transfer */
1784 BIT(is_fread_set); /* has read callback been set to non-NULL? */
1814 BIT(hide_progress); /* don't use the progress meter */
1818 BIT(http_transfer_encoding); /* request compressed HTTP transfer-encoding */
1829 BIT(reuse_fresh); /* do not re-use an existing connection */
1834 transfer-encoded (chunked, compressed) */
1836 content-encoded (chunked, compressed) */
1837 BIT(proxy_transfer_mode); /* set transfer mode (;type=<a|i>) when doing
1857 BIT(doh); /* DNS-over-HTTPS enabled */
1905 /* Array with the plain socket numbers this handle takes care of, in no
1915 struct Curl_multi *multi; /* if non-NULL, points to the multi handle
1918 struct Curl_multi *multi_easy; /* if non-NULL, points to the multi handle
1925 struct SingleRequest req; /* Request-specific data */
1937 struct altsvcinfo *asi; /* the alt-svc cache */
1939 struct Progress progress; /* for all the progress meter data */ member