Lines Matching defs:connectdata
857 struct connectdata { struct
860 /* chunk is for HTTP chunked encoding, but is in the general connectdata argument
863 struct Curl_chunker chunk;
865 curl_closesocket_callback fclosesocket; /* function closing the socket(s) */
866 void *closesocket_client;
875 long connection_id; /* Contains a unique number to make it easier to
882 struct Curl_dns_entry *dns_entry;
886 const struct Curl_sockaddr_ex *remote_addr;
888 struct hostname host;
889 char *hostname_resolve; /* host name to resolve to address, allocated */
890 char *secondaryhostname; /* secondary socket host name (ftp) */
891 struct hostname conn_to_host; /* the host to connect to. valid only if
894 struct proxy_info socks_proxy;
895 struct proxy_info http_proxy;
904 char primary_ip[MAX_IPADR_LEN];
905 char *user; /* user name string, allocated */
906 char *passwd; /* password string, allocated */
907 char *options; /* options string, allocated */
908 char *sasl_authzid; /* authorization identity string, allocated */
909 char *oauth_bearer; /* OAUTH2 bearer, allocated */
910 struct curltime now; /* "current" time */
911 struct curltime created; /* creation time */
912 struct curltime lastused; /* when returned to the connection cache */
913 curl_socket_t sock[2]; /* two sockets, the second is used for the data
915 Curl_recv *recv[2];
916 Curl_send *send[2];
917 struct Curl_cfilter *cfilter[2]; /* connection filters */
919 struct ssl_primary_config ssl_config;
921 struct ssl_primary_config proxy_ssl_config;
923 struct ConnectBits bits; /* various state-flags for this connection */
925 const struct Curl_handler *handler; /* Connection's protocol handler */
926 const struct Curl_handler *given; /* The protocol first given */
931 struct curltime keepalive;
935 curl_socket_t sockfd; /* socket to read from or CURL_SOCKET_BAD */
936 curl_socket_t writesockfd; /* socket to write to, it may very
942 unsigned char command_prot; /* enum protection_level */
943 unsigned char data_prot; /* enum protection_level */
944 unsigned char request_data_prot; /* enum protection_level */
945 size_t buffer_size;
946 struct krb5buffer in_buffer;
947 void *app_data;
948 const struct Curl_sec_client_mech *mech;
949 struct sockaddr_in local_addr;
953 struct kerberos5data krb5; /* variables into the structure definition, */
956 struct Curl_llist easyq; /* List of easy handles using this connection */
957 curl_seek_callback seek_func; /* function that seeks the input */
958 void *seek_client; /* pointer to pass to the seek() above */
962 CtxtHandle *sslContext;
966 struct gsasldata gsasl;
970 curlntlm http_ntlm_state;
971 curlntlm proxy_ntlm_state;
973 struct ntlmdata ntlm; /* NTLM differs from other authentication schemes
976 struct ntlmdata proxyntlm; /* NTLM data for proxy */
980 curlnegotiate http_negotiate_state;
981 curlnegotiate proxy_negotiate_state;
983 struct negotiatedata negotiate; /* state data for host Negotiate auth */
984 struct negotiatedata proxyneg; /* state data for proxy Negotiate auth */
989 struct dynbuf trailer;
992 union {
1025 } proto;
1027 struct connectbundle *bundle; /* The bundle we are member of */
1029 char *unix_domain_socket;
1033 Curl_datastream datastream;
1040 char *localdev;
1041 unsigned short localportrange;
1042 int cselect_bits; /* bitmask of socket events */
1043 int waitfor; /* current READ/WRITE bits to wait for */
1067 /* The end of connectdata. */ argument