Lines Matching refs:handler

663   if((conn->handler->protocol & PROTO_FAMILY_HTTP) &&  in xfer_may_multiplex()
766 else if(conn->handler->connection_check) { in Curl_conn_seems_dead()
775 state = conn->handler->connection_check(data, conn, CONNCHECK_ISDEAD); in Curl_conn_seems_dead()
821 if(conn->handler->connection_check) { in Curl_conn_upkeep()
824 rc = conn->handler->connection_check(data, conn, CONNCHECK_KEEPALIVE); in Curl_conn_upkeep()
961 if((needle->handler->flags&PROTOPT_SSL) != in url_match_conn()
962 (conn->handler->flags&PROTOPT_SSL)) in url_match_conn()
964 if(get_protocol_family(conn->handler) != in url_match_conn()
965 needle->handler->protocol || !conn->bits.tls_upgraded) in url_match_conn()
1006 (needle->handler->protocol & CURLPROTO_HTTP) && in url_match_conn()
1018 if(!(needle->handler->flags & PROTOPT_CREDSPERREQUEST)) { in url_match_conn()
1039 if((needle->handler->protocol & PROTO_FAMILY_HTTP) && in url_match_conn()
1056 else if(get_protocol_family(needle->handler) & PROTO_FAMILY_SSH) { in url_match_conn()
1062 else if(get_protocol_family(needle->handler) & PROTO_FAMILY_FTP) { in url_match_conn()
1076 if((needle->handler->flags&PROTOPT_SSL) in url_match_conn()
1083 if(!strcasecompare(needle->handler->scheme, conn->handler->scheme) && in url_match_conn()
1084 (get_protocol_family(conn->handler) != in url_match_conn()
1085 needle->handler->protocol || !conn->bits.tls_upgraded)) in url_match_conn()
1101 if((needle->handler->flags & PROTOPT_SSL) && in url_match_conn()
1255 (needle->handler->protocol & PROTO_FAMILY_HTTP)); in ConnectionExists()
1260 (needle->handler->protocol & PROTO_FAMILY_HTTP)); in ConnectionExists()
1292 if(conn->handler->protocol & PROTO_FAMILY_HTTP) { in Curl_verboseconnect()
1640 conn->handler = conn->given = p; in findprotocol()
1868 conn->handler->flags&PROTOPT_USERPWDCTRL ?
1890 conn->handler->flags&PROTOPT_USERPWDCTRL ?
1994 p = conn->handler;
2002 p = conn->handler; /* May have changed. */
2078 msnprintf(proxy_env, sizeof(proxy_env), "%s_proxy", conn->handler->scheme);
2435 if(proxy && (!*proxy || (conn->handler->flags & PROTOPT_NONETWORK))) {
2441 (conn->handler->flags & PROTOPT_NONETWORK))) {
2476 if(!(conn->handler->protocol & PROTO_FAMILY_HTTP)) {
2477 if((conn->handler->flags & PROTOPT_PROXY_AS_HTTP) &&
2479 conn->handler = &Curl_handler_http;
2717 if(!(conn->handler->flags&PROTOPT_USERPWDCTRL)) {
2800 if((conn->handler->flags & PROTOPT_NEEDSPWD) && !data->state.aptr.user)
3043 ((conn->handler->protocol == CURLPROTO_HTTPS) ||
3525 if(conn->handler->flags & PROTOPT_NONETWORK) {
3529 DEBUGASSERT(conn->handler->connect_it);
3530 data->info.conn_scheme = conn->handler->scheme;
3532 data->info.conn_protocol = (conn->handler->protocol) & CURLPROTO_MASK;
3533 result = conn->handler->connect_it(data, &done);
3547 DEBUGASSERT(conn->handler->done);
3549 (void)conn->handler->done(data, result, FALSE);
3622 if(conn->handler->flags & PROTOPT_ALPN) {
3729 data->info.conn_scheme = conn->handler->scheme;
3731 data->info.conn_protocol = (conn->handler->protocol) & CURLPROTO_MASK;
3761 if(conn->handler->flags & PROTOPT_NONETWORK) {
3841 !(conn->handler->flags & PROTOPT_WILDCARD))