Lines Matching refs:CURL_SOCKET_BAD
286 if(*sockfd == CURL_SOCKET_BAD) in socket_open()
805 ctx->sock = CURL_SOCKET_BAD; in cf_socket_ctx_init()
892 if(ctx && CURL_SOCKET_BAD != ctx->sock) { in cf_socket_close()
896 cf->conn->sock[cf->sockindex] = CURL_SOCKET_BAD; in cf_socket_close()
898 ctx->sock = CURL_SOCKET_BAD; in cf_socket_close()
986 DEBUGASSERT(ctx->sock == CURL_SOCKET_BAD); in cf_socket_open()
1064 if(ctx->sock != CURL_SOCKET_BAD) { in cf_socket_open()
1066 ctx->sock = CURL_SOCKET_BAD; in cf_socket_open()
1152 if(ctx->sock == CURL_SOCKET_BAD) { in cf_tcp_connect()
1221 if(ctx->sock != CURL_SOCKET_BAD) { in cf_tcp_connect()
1223 ctx->sock = CURL_SOCKET_BAD; in cf_tcp_connect()
1248 if(ctx->sock != CURL_SOCKET_BAD) { in cf_socket_adjust_pollset()
1486 ctx->sock = CURL_SOCKET_BAD; in cf_socket_cntrl()
1502 if(!ctx || ctx->sock == CURL_SOCKET_BAD) in cf_socket_conn_is_alive()
1631 DEBUGASSERT(ctx->sock != CURL_SOCKET_BAD); in cf_udp_setup_quic()
1685 if(ctx->sock == CURL_SOCKET_BAD) { in cf_udp_connect()
1854 DEBUGASSERT(conn->sock[sockindex] == CURL_SOCKET_BAD); in Curl_conn_tcp_listen_set()