Home
last modified time | relevance | path

Searched refs:socks (Results 1 – 25 of 36) sorted by relevance

12

/curl/lib/
H A Dsocketpair.c39 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 Dsocketpair.h54 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 Dasyn-ares.c291 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 Dcfilters.c972 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 Dtransfer.h47 struct connectdata *conn, curl_socket_t *socks);
H A Dpingpong.h150 curl_socket_t *socks);
H A Dhostip.h264 curl_socket_t *socks);
H A Dpingpong.c389 struct pingpong *pp, curl_socket_t *socks) in Curl_pp_getsock() argument
392 socks[0] = conn->sock[FIRSTSOCKET]; in Curl_pp_getsock()
H A Dasyn-thread.c638 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 Dhttp.h132 curl_socket_t *socks);
H A DMakefile.inc218 socks.c \
355 socks.h \
H A Durldata.h671 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 Drtsp.c58 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 Dmulti.c957 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 Dports.py36 socks = []
42 socks.append(s)
45 for s in socks:
/curl/tests/data/
H A Dtest72058 <socks>
60 </socks>
H A Dtest71959 <socks>
61 </socks>
H A Dtest72158 <socks>
60 </socks>
H A Dtest146860 <socks>
62 </socks>
H A Dtest147061 <socks>
63 </socks>
H A Dtest121233 noproxy setting together with socks proxy
/curl/docs/cmdline-opts/
H A Dsocks5-gssapi-service.md18 Set the service name for a socks server. Default is **rcmd/server-fqdn**.
H A Dproxy.md27 Unix domain sockets are supported for socks proxy. Set localhost for the host
/curl/docs/libcurl/opts/
H A DCURLOPT_PRE_PROXY.md43 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 DCURLOPT_PROXY.md96 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".

Completed in 57 milliseconds

12