• Home
  • Raw
  • Download

Lines Matching defs:connectdata

857 struct connectdata {  struct
865 /* chunk is for HTTP chunked encoding, but is in the general connectdata argument
868 struct Curl_chunker chunk;
870 curl_closesocket_callback fclosesocket; /* function closing the socket(s) */
871 void *closesocket_client;
880 long connection_id; /* Contains a unique number to make it easier to
887 struct Curl_dns_entry *dns_entry;
892 struct Curl_addrinfo *ip_addr;
893 struct Curl_addrinfo *tempaddr[2]; /* for happy eyeballs */
898 char ip_addr_str[MAX_IPADR_LEN];
900 unsigned int scope_id; /* Scope id for IPv6 */
902 enum {
906 } transport;
909 struct quicsocket hequic[2]; /* two, for happy eyeballs! */
910 struct quicsocket *quic;
913 struct hostname host;
914 char *hostname_resolve; /* host name to resolve to address, allocated */
915 char *secondaryhostname; /* secondary socket host name (ftp) */
916 struct hostname conn_to_host; /* the host to connect to. valid only if
919 struct proxy_info socks_proxy;
920 struct proxy_info http_proxy;
922 long port; /* which port to use locally */
923 int remote_port; /* the remote port, not the proxy port! */
924 int conn_to_port; /* the remote port to connect to. valid only if
926 unsigned short secondary_port; /* secondary socket remote port to connect to
936 char primary_ip[MAX_IPADR_LEN];
937 long primary_port;
943 char local_ip[MAX_IPADR_LEN];
944 long local_port;
946 char *user; /* user name string, allocated */
947 char *passwd; /* password string, allocated */
948 char *options; /* options string, allocated */
950 char *sasl_authzid; /* authorisation identity string, allocated */
952 int httpversion; /* the HTTP version*10 reported by the server */
953 int rtspversion; /* the RTSP version*10 reported by the server */
955 struct curltime now; /* "current" time */
956 struct curltime created; /* creation time */
957 struct curltime lastused; /* when returned to the connection cache */
958 curl_socket_t sock[2]; /* two sockets, the second is used for the data
960 curl_socket_t tempsock[2]; /* temporary sockets for happy eyeballs */
961 int tempfamily[2]; /* family used for the temp sockets */
962 Curl_recv *recv[2];
963 Curl_send *send[2];
966 struct postponed_data postponed[2]; /* two buffers for two sockets */
968 struct ssl_connect_data ssl[2]; /* this is for ssl-stuff */
970 struct ssl_connect_data proxy_ssl[2]; /* this is for proxy ssl-stuff */
973 void *ssl_extra; /* separately allocated backend-specific data */
975 struct ssl_primary_config ssl_config;
977 struct ssl_primary_config proxy_ssl_config;
979 struct ConnectBits bits; /* various state-flags for this connection */
984 struct curltime connecttime;
986 int num_addr; /* number of addresses to try to connect to */
990 timediff_t timeoutms_per_addr[2];
992 const struct Curl_handler *handler; /* Connection's protocol handler */
993 const struct Curl_handler *given; /* The protocol first given */
995 long ip_version; /* copied from the Curl_easy at creation time */
1000 struct curltime keepalive;
1002 long upkeep_interval_ms; /* Time between calls for connection upkeep. */
1006 curl_socket_t sockfd; /* socket to read from or CURL_SOCKET_BAD */
1007 curl_socket_t writesockfd; /* socket to write to, it may very
1013 enum protection_level command_prot;
1014 enum protection_level data_prot;
1015 enum protection_level request_data_prot;
1016 size_t buffer_size;
1017 struct krb5buffer in_buffer;
1018 void *app_data;
1019 const struct Curl_sec_client_mech *mech;
1020 struct sockaddr_in local_addr;
1024 struct kerberos5data krb5; /* variables into the structure definition, */
1027 struct Curl_llist easyq; /* List of easy handles using this connection */
1028 curl_seek_callback seek_func; /* function that seeks the input */
1029 void *seek_client; /* pointer to pass to the seek() above */
1033 CtxtHandle *sslContext;
1037 curlntlm http_ntlm_state;
1038 curlntlm proxy_ntlm_state;
1040 struct ntlmdata ntlm; /* NTLM differs from other authentication schemes
1043 struct ntlmdata proxyntlm; /* NTLM data for proxy */
1047 curlnegotiate http_negotiate_state;
1048 curlnegotiate proxy_negotiate_state;
1050 struct negotiatedata negotiate; /* state data for host Negotiate auth */
1051 struct negotiatedata proxyneg; /* state data for proxy Negotiate auth */
1055 struct Curl_async async;
1058 struct dynbuf trailer;
1060 union {
1073 } proto;
1098 /* The end of connectdata. */ argument