/curl/lib/ |
H A D | socketpair.c | 39 socks[0] = socks[1] = CURL_SOCKET_BAD; in Curl_eventfd() 42 socks[0] = socks[1] = efd; in Curl_eventfd() 52 if(pipe(socks)) in Curl_pipe() 57 close(socks[0]); in Curl_pipe() 58 close(socks[1]); in Curl_pipe() 59 socks[0] = socks[1] = CURL_SOCKET_BAD; in Curl_pipe() 66 close(socks[0]); in Curl_pipe() 68 socks[0] = socks[1] = CURL_SOCKET_BAD; in Curl_pipe() 155 socks[0] = socks[1] = CURL_SOCKET_BAD; in Curl_socketpair() 259 sclose(socks[0]); in Curl_socketpair() [all …]
|
H A D | socketpair.h | 54 int Curl_eventfd(curl_socket_t socks[2], bool nonblocking); 64 int Curl_pipe(curl_socket_t socks[2], bool nonblocking); 95 curl_socket_t socks[2], bool nonblocking);
|
H A D | asyn-ares.c | 291 curl_socket_t *socks) in Curl_resolver_getsock() argument 296 (ares_socket_t *)socks, MAX_SOCKSPEREASYHANDLE); in Curl_resolver_getsock() 318 ares_socket_t socks[ARES_GETSOCK_MAXNUM]; in waitperform() local 323 bitmask = ares_getsock((ares_channel)data->state.async.resolver, socks, in waitperform() 330 pfd[i].fd = socks[i]; in waitperform() 334 pfd[i].fd = socks[i]; in waitperform()
|
H A D | cfilters.c | 972 int bitmap, curl_socket_t *socks) in ps_add() argument 977 if(!(bitmap & GETSOCK_MASK_RW(i)) || !VALID_SOCK((socks[i]))) { in ps_add() 982 Curl_pollset_add_inout(data, ps, socks[i]); in ps_add() 985 Curl_pollset_add_in(data, ps, socks[i]); in ps_add() 988 Curl_pollset_add_out(data, ps, socks[i]); in ps_add() 996 curl_socket_t *socks)) in Curl_pollset_add_socks() argument 998 curl_socket_t socks[MAX_SOCKSPEREASYHANDLE]; in Curl_pollset_add_socks() local 1001 bitmap = get_socks_cb(data, socks); in Curl_pollset_add_socks() 1002 ps_add(data, ps, bitmap, socks); in Curl_pollset_add_socks()
|
H A D | transfer.h | 47 struct connectdata *conn, curl_socket_t *socks);
|
H A D | pingpong.h | 150 curl_socket_t *socks);
|
H A D | hostip.h | 264 curl_socket_t *socks);
|
H A D | pingpong.c | 389 struct pingpong *pp, curl_socket_t *socks) in Curl_pp_getsock() argument 392 socks[0] = conn->sock[FIRSTSOCKET]; in Curl_pp_getsock()
|
H A D | asyn-thread.c | 638 int Curl_resolver_getsock(struct Curl_easy *data, curl_socket_t *socks) in Curl_resolver_getsock() argument 647 (void)socks; in Curl_resolver_getsock() 653 socks[0] = td->tsd.sock_pair[0]; in Curl_resolver_getsock()
|
H A D | http.h | 132 curl_socket_t *socks);
|
H A D | Makefile.inc | 218 socks.c \ 355 socks.h \
|
H A D | urldata.h | 671 struct connectdata *conn, curl_socket_t *socks); 676 struct connectdata *conn, curl_socket_t *socks); 681 struct connectdata *conn, curl_socket_t *socks); 687 struct connectdata *conn, curl_socket_t *socks);
|
H A D | rtsp.c | 58 struct connectdata *conn, curl_socket_t *socks); 85 curl_socket_t *socks) in rtsp_getsock_do() argument 89 socks[0] = conn->sock[FIRSTSOCKET]; in rtsp_getsock_do()
|
H A D | multi.c | 957 static int connecting_getsock(struct Curl_easy *data, curl_socket_t *socks) in connecting_getsock() argument 967 socks[0] = sockfd; in connecting_getsock() 973 static int protocol_getsock(struct Curl_easy *data, curl_socket_t *socks) in protocol_getsock() argument 981 return conn->handler->proto_getsock(data, conn, socks); in protocol_getsock() 985 socks[0] = sockfd; in protocol_getsock() 991 static int domore_getsock(struct Curl_easy *data, curl_socket_t *socks) in domore_getsock() argument 997 return conn->handler->domore_getsock(data, conn, socks); in domore_getsock() 1000 socks[0] = conn->sockfd; in domore_getsock() 1006 static int doing_getsock(struct Curl_easy *data, curl_socket_t *socks) in doing_getsock() argument 1012 return conn->handler->doing_getsock(data, conn, socks); in doing_getsock() [all …]
|
/curl/tests/http/testenv/ |
H A D | ports.py | 36 socks = [] 42 socks.append(s) 45 for s in socks:
|
/curl/tests/data/ |
H A D | test720 | 58 <socks> 60 </socks>
|
H A D | test719 | 59 <socks> 61 </socks>
|
H A D | test721 | 58 <socks> 60 </socks>
|
H A D | test1468 | 60 <socks> 62 </socks>
|
H A D | test1470 | 61 <socks> 63 </socks>
|
H A D | test1212 | 33 noproxy setting together with socks proxy
|
/curl/docs/cmdline-opts/ |
H A D | socks5-gssapi-service.md | 18 Set the service name for a socks server. Default is **rcmd/server-fqdn**.
|
H A D | proxy.md | 27 Unix domain sockets are supported for socks proxy. Set localhost for the host
|
/curl/docs/libcurl/opts/ |
H A D | CURLOPT_PRE_PROXY.md | 43 of socks is used. Use socks4://, socks4a://, socks5:// or socks5h:// (the last 74 curl_easy_setopt(curl, CURLOPT_PRE_PROXY, "socks4://socks-proxy:1080");
|
H A D | CURLOPT_PROXY.md | 96 Unix domain sockets are supported for socks proxies since 7.84.0. Set 147 Since 7.21.7 the proxy string supports the socks protocols as "schemes".
|