Lines Matching defs:connectdata
791 struct connectdata { struct
792 struct Curl_llist_node cpool_node; /* conncache lists */
794 curl_closesocket_callback fclosesocket; /* function closing the socket(s) */
795 void *closesocket_client;
804 curl_off_t connection_id; /* Contains a unique number to make it easier to
806 char *destination; /* string carrying normalized hostname+port+scope */
807 size_t destination_len; /* strlen(destination) + 1 */
813 struct Curl_dns_entry *dns_entry;
817 const struct Curl_sockaddr_ex *remote_addr;
819 struct hostname host;
820 char *hostname_resolve; /* hostname to resolve to address, allocated */
821 char *secondaryhostname; /* secondary socket hostname (ftp) */
822 struct hostname conn_to_host; /* the host to connect to. valid only if
825 struct proxy_info socks_proxy;
826 struct proxy_info http_proxy;
834 struct ip_quadruple primary;
835 struct ip_quadruple secondary;
836 char *user; /* username string, allocated */
837 char *passwd; /* password string, allocated */
838 char *options; /* options string, allocated */
839 char *sasl_authzid; /* authorization identity string, allocated */
840 char *oauth_bearer; /* OAUTH2 bearer, allocated */
841 struct curltime now; /* "current" time */
842 struct curltime created; /* creation time */
843 struct curltime lastused; /* when returned to the connection poolas idle */
844 curl_socket_t sock[2]; /* two sockets, the second is used for the data
846 Curl_recv *recv[2];
847 Curl_send *send[2];
848 struct Curl_cfilter *cfilter[2]; /* connection filters */
849 struct {
852 } shutdown;
855 struct easy_pollset shutdown_poll;
857 struct ssl_primary_config ssl_config;
859 struct ssl_primary_config proxy_ssl_config;
861 struct ConnectBits bits; /* various state-flags for this connection */
863 const struct Curl_handler *handler; /* Connection's protocol handler */
864 const struct Curl_handler *given; /* The protocol first given */
869 struct curltime keepalive;
873 curl_socket_t sockfd; /* socket to read from or CURL_SOCKET_BAD */
874 curl_socket_t writesockfd; /* socket to write to, it may be the same we read
879 unsigned char command_prot; /* enum protection_level */
880 unsigned char data_prot; /* enum protection_level */
881 unsigned char request_data_prot; /* enum protection_level */
882 size_t buffer_size;
883 struct krb5buffer in_buffer;
884 void *app_data;
885 const struct Curl_sec_client_mech *mech;
886 struct sockaddr_in local_addr;
890 struct kerberos5data krb5; /* variables into the structure definition, */
893 struct Curl_llist easyq; /* List of easy handles using this connection */
897 CtxtHandle *sslContext;
901 struct gsasldata gsasl;
905 curlntlm http_ntlm_state;
906 curlntlm proxy_ntlm_state;
908 struct ntlmdata ntlm; /* NTLM differs from other authentication schemes
911 struct ntlmdata proxyntlm; /* NTLM data for proxy */
915 curlnegotiate http_negotiate_state;
916 curlnegotiate proxy_negotiate_state;
918 struct negotiatedata negotiate; /* state data for host Negotiate auth */
919 struct negotiatedata proxyneg; /* state data for proxy Negotiate auth */
922 union {
960 } proto;
963 char *unix_domain_socket;
967 Curl_datastream datastream;
974 char *localdev;
975 unsigned short localportrange;
976 int waitfor; /* current READ/WRITE bits to wait for */
978 int socks5_gssapi_enctype;
981 int remote_port; /* the remote port, not the proxy port! */
982 int conn_to_port; /* the remote port to connect to. valid only if
985 unsigned int scope_id; /* Scope id for IPv6 */
987 unsigned short localport;
988 unsigned short secondary_port; /* secondary socket remote port to connect to
990 unsigned char alpn; /* APLN TLS negotiated protocol, a CURL_HTTP_VERSION*
1014 /* The end of connectdata. */ argument