Lines Matching refs:clientfd

1464   curl_socket_t clientfd[2] = {CURL_SOCKET_BAD, CURL_SOCKET_BAD};  in http_connect()  local
1481 clientfd[SWS_CTRL] = *infdp; in http_connect()
1515 if((clientfd[SWS_DATA] == CURL_SOCKET_BAD) && in http_connect()
1536 if(clientfd[i] != CURL_SOCKET_BAD) { in http_connect()
1543 FD_SET(clientfd[i], &input); in http_connect()
1547 if(clientfd[i] > maxfd) in http_connect()
1548 maxfd = clientfd[i]; in http_connect()
1557 FD_SET(clientfd[i], &output); in http_connect()
1561 if(clientfd[i] > maxfd) in http_connect()
1562 maxfd = clientfd[i]; in http_connect()
1614 if((clientfd[SWS_DATA] == CURL_SOCKET_BAD) && in http_connect()
1667 clientfd[SWS_DATA] = datafd; in http_connect()
1688 if(clientfd[i] != CURL_SOCKET_BAD) { in http_connect()
1690 if(len && FD_ISSET(clientfd[i], &input)) { in http_connect()
1692 rc = sread(clientfd[i], &readclient[i][tos[i]], len); in http_connect()
1695 shutdown(clientfd[i], SHUT_RD); in http_connect()
1724 if(clientfd[i] != CURL_SOCKET_BAD) { in http_connect()
1725 if(toc[i] && FD_ISSET(clientfd[i], &output)) { in http_connect()
1727 rc = swrite(clientfd[i], readserver[i], toc[i]); in http_connect()
1730 shutdown(clientfd[i], SHUT_WR); in http_connect()
1775 if(clientfd[i] != CURL_SOCKET_BAD) { in http_connect()
1778 shutdown(clientfd[i], SHUT_RD); in http_connect()
1783 shutdown(clientfd[i], SHUT_WR); in http_connect()
1811 if(clientfd[i] != CURL_SOCKET_BAD) { in http_connect()
1814 sclose(clientfd[i]); in http_connect()
1815 clientfd[i] = CURL_SOCKET_BAD; in http_connect()
1830 if(clientfd[i] == CURL_SOCKET_BAD) { in http_connect()
1868 if(clientfd[i] != CURL_SOCKET_BAD) { in http_connect()
1870 shutdown(clientfd[i], SHUT_RDWR); in http_connect()
1871 sclose(clientfd[i]); in http_connect()
1874 (clientfd[i] != CURL_SOCKET_BAD)) { in http_connect()