Home
last modified time | relevance | path

Searched refs:tunnel (Results 1 – 22 of 22) sorted by relevance

/curl/tests/http/
H A Dtest_10_proxy.py156 xargs = curl.get_proxy_args(tunnel=True, proto=tunnel)
162 if tunnel == 'h2' else 'HTTP/1.1'
184 xargs = curl.get_proxy_args(tunnel=True, proto=tunnel)
190 if tunnel == 'h2' else 'HTTP/1.1'
215 xargs = curl.get_proxy_args(tunnel=True, proto=tunnel)
236 xargs = curl.get_proxy_args(tunnel=True, proto=tunnel)
242 if tunnel == 'h2':
259 proxy_args = curl.get_proxy_args(tunnel=True, proto=tunnel)
284 proxy_args = curl.get_proxy_args(tunnel=True, proto=tunnel)
310 proxy_args = curl.get_proxy_args(tunnel=True, proto=tunnel)
[all …]
H A Dtest_13_proxy_auth.py104 xargs = curl.get_proxy_args(proxys=False, tunnel=True)
113 xargs = curl.get_proxy_args(proxys=False, tunnel=True)
124 def test_13_07_tunnels_no_auth(self, env: Env, httpd, proto, tunnel, repeat): argument
125 if tunnel == 'h2' and not env.curl_uses_lib('nghttp2'):
129 xargs = curl.get_proxy_args(proxys=True, tunnel=True, proto=tunnel)
135 if tunnel == 'h2' else 'HTTP/1.1'
142 def test_13_08_tunnels_auth(self, env: Env, httpd, proto, tunnel, repeat): argument
143 if tunnel == 'h2' and not env.curl_uses_lib('nghttp2'):
147 xargs = curl.get_proxy_args(proxys=True, tunnel=True, proto=tunnel)
154 if tunnel == 'h2' else 'HTTP/1.1'
/curl/lib/
H A Dcf-h2-proxy.c225 if(!tunnel->closed && !tunnel->reset && in drain_tunnel()
335 memset(&ctx->tunnel, 0, sizeof(ctx->tunnel)); in cf_h2_proxy_ctx_init()
718 if(!ctx->tunnel.resp) in proxy_h2_on_frame_recv()
787 ctx->tunnel.resp = resp; in proxy_h2_on_header()
793 if(!ctx->tunnel.resp) in proxy_h2_on_header()
890 ctx->tunnel.closed = TRUE; in proxy_h2_on_stream_close()
1294 ctx->tunnel.stream_id, nghttp2_http2_strerror(ctx->tunnel.error), in h2_handle_tunnel_close()
1295 ctx->tunnel.error); in h2_handle_tunnel_close()
1328 if(ctx->tunnel.closed) { in tunnel_recv()
1416 if(ctx->tunnel.closed) { in cf_h2_proxy_send()
[all …]
/curl/docs/cmdline-opts/
H A Dproxytunnel.md6 Help: HTTP proxy tunnel (using CONNECT)
18 When an HTTP proxy is used --proxy, this option makes curl tunnel the traffic
19 through the proxy. The tunnel approach is made with the HTTP proxy CONNECT
21 number curl wants to tunnel through to.
H A Dproxy.md46 not be available. This is not the case if you can tunnel through the proxy, as
/curl/docs/libcurl/opts/
H A DCURLOPT_HTTPPROXYTUNNEL.md18 CURLOPT_HTTPPROXYTUNNEL - tunnel through HTTP proxy
25 CURLcode curl_easy_setopt(CURL *handle, CURLOPT_HTTPPROXYTUNNEL, long tunnel);
30 Set the **tunnel** parameter to 1L to make libcurl tunnel all operations
32 difference between using a proxy and to tunnel through it.
44 this tunnel option set. For example, asking for an FTP URL and specifying an
H A DCURLOPT_CONNECT_TO.md71 port, the HTTP proxy is automatically switched to tunnel mode for this
73 specific host or port in normal (non-tunnel) mode.
H A DCURLOPT_PROXY.md87 and similar FTP specifics that do not work unless you tunnel through the HTTP
/curl/tests/data/
H A Dtest118416 Server: test tunnel 2000
88 Server: test tunnel 2000
100 Server: test tunnel 2000
H A Dtest107818 Server: test tunnel 2000
77 Server: test tunnel 2000
H A Dtest129717 Server: test tunnel 2000
H A Dtest205050 Connect to specific host via HTTP proxy (switch to tunnel mode automatically)
H A Dtest8350 HTTP over proxy-tunnel with site authentication
H A Dtest205552 Connect to specific host via SOCKS proxy and HTTP proxy (switch to tunnel mode automatically)
H A Dtest142850 HTTP over proxy-tunnel with --proxy-header and --header
H A Dtest128758 HTTP over proxy-tunnel ignore TE and CL in CONNECT 2xx responses
H A Dtest128817 Server: test tunnel 2000
/curl/tests/http/testenv/
H A Dcurl.py501 proxys: bool = True, tunnel: bool = False,
505 pport = self.env.pts_port(proto) if tunnel else self.env.proxys_port
518 if tunnel:
/curl/tests/server/
H A Dsocksd.c646 static int tunnel(struct perclient *cp, fd_set *fds) in tunnel() function
786 if(tunnel(cp, &fds_read)) { in incoming()
/curl/docs/libcurl/
H A Dlibcurl-tutorial.md892 the proxy to tunnel everything through without being able to check or fiddle
901 of data that is passed in and out through this tunnel, this breaks some of the
927 using a tunnel like this, as it then enables you to operate on the remote
/curl/docs/
H A DTODO182 20.1 SSL tunnel
1310 20.1 SSL tunnel
H A DFAQ590 There is one exception to this rule, and that is if you can "tunnel through"

Completed in 55 milliseconds