Lines Matching defs:connectdata
878 struct connectdata { struct
881 /* chunk is for HTTP chunked encoding, but is in the general connectdata argument
884 struct Curl_chunker chunk;
886 curl_closesocket_callback fclosesocket; /* function closing the socket(s) */
887 void *closesocket_client;
896 curl_off_t connection_id; /* Contains a unique number to make it easier to
903 struct Curl_dns_entry *dns_entry;
907 const struct Curl_sockaddr_ex *remote_addr;
909 struct hostname host;
910 char *hostname_resolve; /* host name to resolve to address, allocated */
911 char *secondaryhostname; /* secondary socket host name (ftp) */
912 struct hostname conn_to_host; /* the host to connect to. valid only if
915 struct proxy_info socks_proxy;
916 struct proxy_info http_proxy;
925 char primary_ip[MAX_IPADR_LEN];
926 char *user; /* user name string, allocated */
927 char *passwd; /* password string, allocated */
928 char *options; /* options string, allocated */
929 char *sasl_authzid; /* authorization identity string, allocated */
930 char *oauth_bearer; /* OAUTH2 bearer, allocated */
931 struct curltime now; /* "current" time */
932 struct curltime created; /* creation time */
933 struct curltime lastused; /* when returned to the connection cache */
934 curl_socket_t sock[2]; /* two sockets, the second is used for the data
936 Curl_recv *recv[2];
937 Curl_send *send[2];
938 struct Curl_cfilter *cfilter[2]; /* connection filters */
940 struct ssl_primary_config ssl_config;
942 struct ssl_primary_config proxy_ssl_config;
944 struct ConnectBits bits; /* various state-flags for this connection */
946 const struct Curl_handler *handler; /* Connection's protocol handler */
947 const struct Curl_handler *given; /* The protocol first given */
952 struct curltime keepalive;
956 curl_socket_t sockfd; /* socket to read from or CURL_SOCKET_BAD */
957 curl_socket_t writesockfd; /* socket to write to, it may very
963 unsigned char command_prot; /* enum protection_level */
964 unsigned char data_prot; /* enum protection_level */
965 unsigned char request_data_prot; /* enum protection_level */
966 size_t buffer_size;
967 struct krb5buffer in_buffer;
968 void *app_data;
969 const struct Curl_sec_client_mech *mech;
970 struct sockaddr_in local_addr;
974 struct kerberos5data krb5; /* variables into the structure definition, */
977 struct Curl_llist easyq; /* List of easy handles using this connection */
978 curl_seek_callback seek_func; /* function that seeks the input */
979 void *seek_client; /* pointer to pass to the seek() above */
983 CtxtHandle *sslContext;
987 struct gsasldata gsasl;
991 curlntlm http_ntlm_state;
992 curlntlm proxy_ntlm_state;
994 struct ntlmdata ntlm; /* NTLM differs from other authentication schemes
997 struct ntlmdata proxyntlm; /* NTLM data for proxy */
1001 curlnegotiate http_negotiate_state;
1002 curlnegotiate proxy_negotiate_state;
1004 struct negotiatedata negotiate; /* state data for host Negotiate auth */
1005 struct negotiatedata proxyneg; /* state data for proxy Negotiate auth */
1010 struct dynbuf trailer;
1013 union {
1051 } proto;
1053 struct connectbundle *bundle; /* The bundle we are member of */
1055 char *unix_domain_socket;
1059 Curl_datastream datastream;
1066 char *localdev;
1067 unsigned short localportrange;
1068 int waitfor; /* current READ/WRITE bits to wait for */
1070 int socks5_gssapi_enctype;
1073 int port; /* which port to use locally - to connect to */
1074 int remote_port; /* the remote port, not the proxy port! */
1075 int conn_to_port; /* the remote port to connect to. valid only if
1078 unsigned int scope_id; /* Scope id for IPv6 */
1080 unsigned short localport;
1081 unsigned short secondary_port; /* secondary socket remote port to connect to
1083 unsigned char cselect_bits; /* bitmask of socket events */
1084 unsigned char alpn; /* APLN TLS negotiated protocol, a CURL_HTTP_VERSION*
1108 /* The end of connectdata. */ argument