Lines Matching refs:CURL_SOCKET_BAD
676 DEBUGASSERT(psnd->bindsock != CURL_SOCKET_BAD); in conn_reset_postponed_data()
683 psnd->bindsock = CURL_SOCKET_BAD; /* used only for DEBUGASSERT */ in conn_reset_postponed_data()
690 DEBUGASSERT(psnd->bindsock == CURL_SOCKET_BAD); in conn_reset_postponed_data()
720 if(CURL_SOCKET_BAD != conn->sock[SECONDARYSOCKET]) in conn_shutdown()
722 if(CURL_SOCKET_BAD != conn->sock[FIRSTSOCKET]) in conn_shutdown()
724 if(CURL_SOCKET_BAD != conn->tempsock[0]) in conn_shutdown()
726 if(CURL_SOCKET_BAD != conn->tempsock[1]) in conn_shutdown()
1168 if(check->sock[FIRSTSOCKET] == CURL_SOCKET_BAD) { in ConnectionExists()
1629 conn->sock[FIRSTSOCKET] = CURL_SOCKET_BAD; /* no file descriptor */ in allocate_conn()
1630 conn->sock[SECONDARYSOCKET] = CURL_SOCKET_BAD; /* no file descriptor */ in allocate_conn()
1631 conn->tempsock[0] = CURL_SOCKET_BAD; /* no file descriptor */ in allocate_conn()
1632 conn->tempsock[1] = CURL_SOCKET_BAD; /* no file descriptor */ in allocate_conn()
1637 conn->postponed[0].bindsock = CURL_SOCKET_BAD; /* no file descriptor */ in allocate_conn()
1638 conn->postponed[1].bindsock = CURL_SOCKET_BAD; /* no file descriptor */ in allocate_conn()
1704 conn->ntlm.ntlm_auth_hlpr_socket = CURL_SOCKET_BAD; in allocate_conn()
1705 conn->proxyntlm.ntlm_auth_hlpr_socket = CURL_SOCKET_BAD; in allocate_conn()
3937 if(CURL_SOCKET_BAD == conn->sock[FIRSTSOCKET]) {