Lines Matching defs:conn
337 struct connectdata *conn)
342 if(!clone_ssl_primary_config(&data->set.ssl.primary, &conn->ssl_config))
346 &conn->proxy_ssl_config))
352 void Curl_ssl_conn_config_cleanup(struct connectdata *conn)
354 Curl_free_primary_ssl_config(&conn->ssl_config);
356 Curl_free_primary_ssl_config(&conn->proxy_ssl_config);
363 if(data->conn) {
367 dest = for_proxy? &data->conn->proxy_ssl_config : &data->conn->ssl_config;
371 dest = &data->conn->ssl_config;
571 ((!cf->conn->bits.conn_to_host && !check->conn_to_host) ||
572 (cf->conn->bits.conn_to_host && check->conn_to_host &&
573 strcasecompare(cf->conn->conn_to_host.name, check->conn_to_host))) &&
574 ((!cf->conn->bits.conn_to_port && check->conn_to_port == -1) ||
575 (cf->conn->bits.conn_to_port && check->conn_to_port != -1 &&
576 cf->conn->conn_to_port == check->conn_to_port)) &&
578 strcasecompare(cf->conn->handler->scheme, check->scheme) &&
594 cf->conn->handler->scheme, connssl->peer.hostname,
675 if(cf->conn->bits.conn_to_host) {
676 clone_conn_to_host = strdup(cf->conn->conn_to_host.name);
685 if(cf->conn->bits.conn_to_port)
686 conn_to_port = cf->conn->conn_to_port;
727 store->scheme = cf->conn->handler->scheme;
1551 * connection is reused, the settings in cf->conn might change.
1556 ehostname = cf->conn->http_proxy.host.name;
1557 edispname = cf->conn->http_proxy.host.dispname;
1558 eport = cf->conn->http_proxy.port;
1563 ehostname = cf->conn->host.name;
1564 edispname = cf->conn->host.dispname;
1565 eport = cf->conn->remote_port;
1650 DEBUGASSERT(data->conn);
1651 DEBUGASSERT(data->conn == cf->conn);
1653 DEBUGASSERT(cf->conn->host.name);
1885 struct connectdata *conn)
1891 DEBUGASSERT(data->conn);
1894 conn->bits.tls_enable_alpn));
1910 struct connectdata *conn,
1916 result = cf_ssl_create(&cf, data, conn);
1918 Curl_conn_cf_add(data, conn, sockindex, cf);
1928 result = cf_ssl_create(&cf, data, cf_at->conn);
1938 struct connectdata *conn)
1943 bool use_alpn = conn->bits.tls_enable_alpn;
1947 if(conn->http_proxy.proxytype == CURLPROXY_HTTPS2) {
1973 result = cf_ssl_proxy_create(&cf, data, cf_at->conn);
2006 if(data->conn) {
2009 cf = get_ssl_filter(data->conn->cfilter[sockindex]);
2027 head = data->conn? data->conn->cfilter[sockindex] : NULL;
2064 return &cf->conn->ssl_config;
2067 &cf->conn->proxy_ssl_config : &cf->conn->ssl_config;
2125 (cf->conn->bits.tunnel_proxy && Curl_ssl_cf_is_proxy(cf))?
2126 &cf->conn->proxy_alpn : &cf->conn->alpn
2128 &cf->conn->alpn