Home
last modified time | relevance | path

Searched refs:msgsock (Results 1 – 3 of 3) sorted by relevance

/external/curl/tests/server/
Dsws.c1859 curl_socket_t msgsock = CURL_SOCKET_BAD; in accept_connection() local
1868 msgsock = accept(sock, NULL, NULL); in accept_connection()
1871 if(CURL_SOCKET_BAD != msgsock) in accept_connection()
1872 sclose(msgsock); in accept_connection()
1876 if(CURL_SOCKET_BAD == msgsock) { in accept_connection()
1887 if(0 != curlx_nonblock(msgsock, TRUE)) { in accept_connection()
1891 sclose(msgsock); in accept_connection()
1895 if(0 != setsockopt(msgsock, SOL_SOCKET, SO_KEEPALIVE, in accept_connection()
1900 sclose(msgsock); in accept_connection()
1916 all_sockets[num_sockets] = msgsock; in accept_connection()
[all …]
Drtspd.c1188 curl_socket_t msgsock = CURL_SOCKET_BAD; in main() local
1353 msgsock = accept(sock, NULL, NULL); in main()
1357 if(CURL_SOCKET_BAD == msgsock) { in main()
1381 if(setsockopt(msgsock, IPPROTO_TCP, TCP_NODELAY, in main()
1397 if(get_request(msgsock, &req)) in main()
1415 send_doc(msgsock, &req); in main()
1437 sclose(msgsock); in main()
1438 msgsock = CURL_SOCKET_BAD; in main()
1451 if((msgsock != sock) && (msgsock != CURL_SOCKET_BAD)) in main()
1452 sclose(msgsock); in main()
Dsockfilt.c1335 curl_socket_t msgsock = CURL_SOCKET_BAD; in main() local
1509 msgsock = sock; /* use this as stream */ in main()
1518 msgsock = CURL_SOCKET_BAD; /* no stream socket yet */ in main()
1537 juggle_again = juggle(&msgsock, sock, &mode); in main()
1542 if((msgsock != sock) && (msgsock != CURL_SOCKET_BAD)) in main()
1543 sclose(msgsock); in main()