Lines Matching refs:sockindex
91 int sockindex, in Curl_proxyCONNECT() argument
99 curl_socket_t tunnelsocket = conn->sock[sockindex]; in Curl_proxyCONNECT()
110 if(conn->tunnel_state[sockindex] == TUNNEL_COMPLETE) in Curl_proxyCONNECT()
116 if(TUNNEL_INIT == conn->tunnel_state[sockindex]) { in Curl_proxyCONNECT()
208 &data->info.request_size, 0, sockindex); in Curl_proxyCONNECT()
219 conn->tunnel_state[sockindex] = TUNNEL_CONNECT; in Curl_proxyCONNECT()
329 conn->tunnel_state[sockindex] = TUNNEL_COMPLETE; in Curl_proxyCONNECT()
424 conn->tunnel_state[sockindex] = TUNNEL_COMPLETE; in Curl_proxyCONNECT()
447 conn->tunnel_state[sockindex] = TUNNEL_COMPLETE; in Curl_proxyCONNECT()
529 Curl_closesocket(conn, conn->sock[sockindex]); in Curl_proxyCONNECT()
530 conn->sock[sockindex] = CURL_SOCKET_BAD; in Curl_proxyCONNECT()
539 (TUNNEL_COMPLETE == conn->tunnel_state[sockindex])) { in Curl_proxyCONNECT()
540 conn->tunnel_state[sockindex] = TUNNEL_INIT; in Curl_proxyCONNECT()
542 conn->tunnel_state[sockindex]); in Curl_proxyCONNECT()
557 Curl_closesocket(conn, conn->sock[sockindex]); in Curl_proxyCONNECT()
558 conn->sock[sockindex] = CURL_SOCKET_BAD; in Curl_proxyCONNECT()
562 conn->tunnel_state[sockindex] = TUNNEL_INIT; in Curl_proxyCONNECT()
574 conn->tunnel_state[sockindex] = TUNNEL_COMPLETE; in Curl_proxyCONNECT()