Home
last modified time | relevance | path

Searched refs:SECONDARYSOCKET (Results 1 – 12 of 12) sorted by relevance

/third_party/curl/lib/
Dftp.c221 if(CURL_SOCKET_BAD != conn->sock[SECONDARYSOCKET]) { in close_secondarysocket()
222 Curl_closesocket(data, conn, conn->sock[SECONDARYSOCKET]); in close_secondarysocket()
223 conn->sock[SECONDARYSOCKET] = CURL_SOCKET_BAD; in close_secondarysocket()
225 conn->bits.tcpconnect[SECONDARYSOCKET] = FALSE; in close_secondarysocket()
227 conn->bits.proxy_ssl_connected[SECONDARYSOCKET] = FALSE; in close_secondarysocket()
272 curl_socket_t sock = conn->sock[SECONDARYSOCKET]; in AcceptServerConnect()
297 conn->sock[SECONDARYSOCKET] = s; in AcceptServerConnect()
372 curl_socket_t data_sock = conn->sock[SECONDARYSOCKET]; in ReceivedServerConnect()
448 result = Curl_ssl_connect(data, conn, SECONDARYSOCKET); in InitiateTransfer()
459 Curl_sndbufset(conn->sock[SECONDARYSOCKET]); in InitiateTransfer()
[all …]
Durl.h78 !conn->bits.proxy_ssl_connected[SECONDARYSOCKET])
Dsendf.c302 num = (sockfd == conn->sock[SECONDARYSOCKET]); in Curl_write()
416 num = (sockfd == conn->sock[SECONDARYSOCKET]); in Curl_write_plain()
693 int num = (sockfd == conn->sock[SECONDARYSOCKET]); in Curl_read()
Dconnect.c790 sockindex == SECONDARYSOCKET ? in connect_SOCKS()
794 sockindex == SECONDARYSOCKET ? conn->secondary_port : in connect_SOCKS()
864 DEBUGASSERT(sockindex >= FIRSTSOCKET && sockindex <= SECONDARYSOCKET); in Curl_is_connected()
1524 if((sock == conn->sock[SECONDARYSOCKET]) && conn->bits.sock_accepted) in Curl_closesocket()
Dkrb5.c866 conn->recv[SECONDARYSOCKET] = sec_recv; in choose_mech()
867 conn->send[SECONDARYSOCKET] = sec_send; in choose_mech()
Dhttp_proxy.c105 else if(sockindex == SECONDARYSOCKET) in Curl_proxy_connect()
110 if(sockindex == SECONDARYSOCKET) in Curl_proxy_connect()
Durl.c748 Curl_ssl_close(data, conn, SECONDARYSOCKET); in conn_shutdown()
751 if(CURL_SOCKET_BAD != conn->sock[SECONDARYSOCKET]) in conn_shutdown()
752 Curl_closesocket(data, conn, conn->sock[SECONDARYSOCKET]); in conn_shutdown()
1712 conn->sock[SECONDARYSOCKET] = CURL_SOCKET_BAD; /* no file descriptor */ in allocate_conn()
3746 conn->recv[SECONDARYSOCKET] = Curl_recv_plain;
3747 conn->send[SECONDARYSOCKET] = Curl_send_plain;
Durldata.h573 #define SECONDARYSOCKET 1 macro
Dtransfer.c501 return Curl_ssl_data_pending(conn, SECONDARYSOCKET); in data_pending()
Dhttp.c1252 DEBUGASSERT(socketindex <= SECONDARYSOCKET); in Curl_buffer_send()
/third_party/curl/lib/vtls/
Dvtls.h147 conn->proxy_ssl[conn->sock[SECONDARYSOCKET] == \
148 CURL_SOCKET_BAD ? FIRSTSOCKET : SECONDARYSOCKET].state)
Dvtls.c635 if(conn->sock[SECONDARYSOCKET] && conn->bits.sock_accepted) in Curl_ssl_associate_conn()
636 Curl_ssl->associate_connection(data, conn, SECONDARYSOCKET); in Curl_ssl_associate_conn()
645 if(conn->sock[SECONDARYSOCKET] && conn->bits.sock_accepted) in Curl_ssl_detach_conn()
646 Curl_ssl->disassociate_connection(data, SECONDARYSOCKET); in Curl_ssl_detach_conn()