Home
last modified time | relevance | path

Searched +full:proxy +full:- +full:from +full:- +full:env (Results 1 – 25 of 275) sorted by relevance

1234567891011

/external/curl/tests/http/
Dtest_13_proxy_auth.py1 #!/usr/bin/env python3
2 # -*- coding: utf-8 -*-
23 # SPDX-License-Identifier: curl
34 from testenv import Env, CurlClient, ExecResult
40 @pytest.mark.skipif(condition=Env.setup_incomplete(),
41 reason=f"missing: {Env.incomplete_reason()}")
45 def _class_scope(self, env, httpd, nghttpx_fwd): argument
46 if env.have_nghttpx():
63 # download via http: proxy (no tunnel), no auth
64 def test_13_01_proxy_no_auth(self, env: Env, httpd, repeat): argument
[all …]
Dtest_10_proxy.py1 #!/usr/bin/env python3
2 # -*- coding: utf-8 -*-
23 # SPDX-License-Identifier: curl
33 from testenv import Env, CurlClient, ExecResult
42 def _class_scope(self, env, httpd, nghttpx_fwd): argument
46 if env.have_nghttpx():
48 env.make_data_file(indir=env.gen_dir, fname="data-100k", fsize=100*1024)
49 env.make_data_file(indir=env.gen_dir, fname="data-10m", fsize=10*1024*1024)
61 # download via http: proxy (no tunnel)
62 def test_10_01_proxy_http(self, env: Env, httpd, repeat): argument
[all …]
Dtest_17_ssl_use.py1 #!/usr/bin/env python3
2 # -*- coding: utf-8 -*-
23 # SPDX-License-Identifier: curl
32 from datetime import timedelta
35 from testenv import Env, CurlClient, LocalClient, ExecResult
44 def _class_scope(self, env, httpd, nghttpx): argument
45 if env.have_h3():
50 def test_17_01_sslinfo_plain(self, env: Env, httpd, nghttpx, repeat): argument
52 curl = CurlClient(env=env)
53 url = f'https://{env.authority_for(env.domain1, proto)}/curltest/sslinfo'
[all …]
/external/aws-crt-java/src/main/java/software/amazon/awssdk/crt/http/
DHttpProxyEnvironmentVariableSetting.java3 * SPDX-License-Identifier: Apache-2.0.
11 * This class provides access to Http proxy environment variable configuration
21 * Configuration for using proxy from environment variable.
26 * Disable reading from environment variable for proxy.
32 * Enable reading from environment variable for proxy configuration, when the proxy options
34 * env HTTPS_PROXY/https_proxy will be checked when the main connection use tls.
35 * env HTTP_PROXY/http_proxy will be checked when the main connection does not use tls.
52 * Creates a new set of environment variable proxy setting
62 * Sets the proxy connection type. Defaults to HttpProxyConnectionType.Legacy
70 * @return the proxy connection type
[all …]
/external/cronet/net/proxy_resolution/
Dproxy_config_service_linux_unittest.cc2 // Use of this source code is governed by a BSD-style license that can be
63 // Undo macro pollution from GDK includes (from message_loop.h).
93 // Mapping from a setting name to the location of the corresponding
99 // Gets the value from its location
104 value_type* value_ptr = it->second; in Get()
142 if (it == table_.end() || !*it->second) in GetVar()
146 *result = *(it->second); in GetVar()
248 // We don't bother to distinguish unset keys from 0 values. in GetInt()
256 // We don't bother to distinguish unset keys from empty lists. in GetStringList()
257 return !result->empty(); in GetStringList()
[all …]
Dproxy_config_service_android.cc2 // Use of this source code is governed by a BSD-style license that can be
78 // Fall back to default proxy, if any. in LookupProxy()
103 // requests to http://developer.android.com to be made without a proxy. in AddBypassRules()
118 bypass_rules->AddRuleFromString(scheme + "://" + pattern); in AddBypassRules()
122 // Returns true if a valid proxy was found.
128 // connections via proxy. This default is identical on other platforms. in GetProxyRules()
131 rules->type = ProxyConfig::ProxyRules::Type::PROXY_LIST_PER_SCHEME; in GetProxyRules()
132 rules->proxies_for_http.SetSingleProxyServer( in GetProxyRules()
134 rules->proxies_for_https.SetSingleProxyServer( in GetProxyRules()
136 rules->proxies_for_ftp.SetSingleProxyServer( in GetProxyRules()
[all …]
/external/curl/tests/http/testenv/
Dhttpd.py1 #!/usr/bin/env python3
2 # -*- coding: utf-8 -*-
23 # SPDX-License-Identifier: curl
31 from datetime import timedelta, datetime
32 from json import JSONEncoder
34 from typing import List, Union, Optional
36 from .curl import CurlClient, ExecResult
37 from .env import Env
50 'alias', 'env', 'filter', 'headers', 'mime', 'setenvif',
52 'rewrite', 'http2', 'ssl', 'proxy', 'proxy_http', 'proxy_connect',
[all …]
Denv.py1 #!/usr/bin/env python3
2 # -*- coding: utf-8 -*-
23 # SPDX-License-Identifier: curl
33 from configparser import ConfigParser, ExtendedInterpolation
34 from datetime import timedelta
35 from typing import Optional
39 from .certs import CertificateSpec, TestCA, Credentials
40 from .ports import alloc_ports
83 p = subprocess.run(args=[self.curl, '-V'],
86 assert False, f'{self.curl} -V failed with exit code: {p.returncode}'
[all …]
/external/python/google-api-python-client/docs/dyn/
Dapigee_v1.organizations.environments.apis.revisions.html8 font-weight: inherit;
9 font-style: inherit;
10 font-size: 100%;
11 font-family: inherit;
12 vertical-align: baseline;
16 font-size: 13px;
21 font-size: 26px;
22 margin-bottom: 1em;
26 font-size: 24px;
27 margin-bottom: 1em;
[all …]
Dapigee_v1.organizations.environments.apis.revisions.deployments.html8 font-weight: inherit;
9 font-style: inherit;
10 font-size: 100%;
11 font-family: inherit;
12 vertical-align: baseline;
16 font-size: 13px;
21 font-size: 26px;
22 margin-bottom: 1em;
26 font-size: 24px;
27 margin-bottom: 1em;
[all …]
Dapigee_v1.organizations.environments.sharedflows.revisions.html8 font-weight: inherit;
9 font-style: inherit;
10 font-size: 100%;
11 font-family: inherit;
12 vertical-align: baseline;
16 font-size: 13px;
21 font-size: 26px;
22 margin-bottom: 1em;
26 font-size: 24px;
27 margin-bottom: 1em;
[all …]
/external/cronet/components/cronet/android/
Dcronet_library_loader.cc2 // Use of this source code is governed by a BSD-style license that can be
53 // This feature flag can be used to make Cronet log a message from native code
69 JNIEnv* env) { in GetBaseFeatureOverrides() argument
71 cronet::Java_CronetLibraryLoader_getBaseFeatureOverrides(env); in GetBaseFeatureOverrides()
75 base::android::SafeGetArrayLength(env, serializedProto); in GetBaseFeatureOverrides()
78 env->GetPrimitiveArrayCritical(serializedProto.obj(), /*isCopy=*/nullptr); in GetBaseFeatureOverrides()
81 env->ReleasePrimitiveArrayCritical(serializedProto.obj(), in GetBaseFeatureOverrides()
86 void NativeInit(JNIEnv* env) { in NativeInit() argument
91 base::CommandLine::Init(sizeof(argv) / sizeof(*argv) - 1, argv); in NativeInit()
99 ApplyBaseFeatureOverrides(GetBaseFeatureOverrides(env)); in NativeInit()
[all …]
/external/cronet/third_party/jni_zero/
Djni_registration_generator.py2 # Use of this source code is governed by a BSD-style license that can be
22 import proxy
48 options: arguments from the command line
58 # The native-based sources are the "source of truth" - the Java based ones
79 short_gen_jni_class = proxy.get_gen_jni_class(
83 full_gen_jni_class = proxy.get_gen_jni_class(
89 # signatures map to the same proxy. Similarly, there may be multiple switch
90 # case entries for the same proxy signatures.
110 header_guard = re.sub(r'[/.-]', '_', header_guard)
154 native_only = native_sources_set - java_sources_set
[all …]
Djni_zero.py1 #!/usr/bin/env python3
3 # Use of this source code is governed by a BSD-style license that can be
22 group.add_argument('--java-sources-file',
25 'from java deps metadata.')
26 group.add_argument('--native-sources-file',
28 'from native deps onto generate_jni.')
29 group.add_argument('--depfile',
34 '--jar-file',
35 help='Extract the list of input files from a specified jar file. '
36 'Uses javap to extract the methods from a pre-compiled class.')
[all …]
/external/libxml2/
Dnanohttp.c82 #define INVALID_SOCKET (-1)
120 char *inptr; /* the next byte to read from network */
126 int ContentLength; /* specified content length from HTTP header */
129 char *authHeader; /* contents of {WWW,Proxy}-Authenticate header */
130 char *encoding; /* encoding extracted from the contentType */
131 char *mimeType; /* Mime-Type extracted from the contentType */
134 int usesGzip; /* "Content-Encoding: gzip" was detected */
139 static char *proxy = NULL; /* the proxy name if any */ variable
140 static int proxyPort; /* the proxy port if any */
186 * Currently it just checks for proxy information
[all …]
/external/cronet/third_party/libxml/src/
Dnanohttp.c82 #define INVALID_SOCKET (-1)
118 char *inptr; /* the next byte to read from network */
124 int ContentLength; /* specified content length from HTTP header */
127 char *authHeader; /* contents of {WWW,Proxy}-Authenticate header */
128 char *encoding; /* encoding extracted from the contentType */
129 char *mimeType; /* Mime-Type extracted from the contentType */
132 int usesGzip; /* "Content-Encoding: gzip" was detected */
137 static char *proxy = NULL; /* the proxy name if any */ variable
138 static int proxyPort; /* the proxy port if any */
184 * Currently it just checks for proxy information
[all …]
Dnanoftp.c105 /* buffer for data received from the control connection */
113 static char *proxy = NULL; /* the proxy name if any */ variable
114 static int proxyPort = 0; /* the proxy port if any */
115 static char *proxyUser = NULL; /* user for proxy authentication */
116 static char *proxyPasswd = NULL;/* passwd for proxy authentication */
125 if (s != -1) { in have_ipv6()
149 * Currently it just checks for proxy information,
155 const char *env; in xmlNanoFTPInit() local
169 env = getenv("no_proxy"); in xmlNanoFTPInit()
170 if (env && ((env[0] == '*' ) && (env[1] == 0))) in xmlNanoFTPInit()
[all …]
/external/auto/value/src/main/java/com/google/auto/value/extension/serializable/g3doc/
Dserializer-extension.md5 un-serializable types. Extensions are created by implementing
30 1. From the original property's type, determine what a suitable serializable
32 2. Generate an expression that maps the original property's value to the proxy
34 3. Generate an expression that maps a proxy value back to the original
54 // An un-serializable class.
65 Unfortunately, `Bar` is un-serializable, which makes the entire class
66 un-serializable. We can extend `SerializableAutoValue` to support `Bar` by
84 ProcessingEnvironment env) {
90 return Optional.of(new BarSerializer(env));
93 // Our implementation of how Bar should be serialized + de-serialized.
[all …]
/external/curl/docs/libcurl/
Dlibcurl-env.md1 ---
3 SPDX-License-Identifier: curl
4 Title: libcurl-env
7 See-also:
8 - libcurl-env-dbg (3)
10 - All
11 ---
15 libcurl-env - environment variables libcurl understands
27 part from the URL and checks if there is a given proxy set for that in its
32 These proxy variables are also checked for in their uppercase versions, except
[all …]
/external/angle/build/android/pylib/utils/
Dchrome_proxy_utils.py2 # Use of this source code is governed by a BSD-style license that can be
6 from py_utils import ts_proxy_server
7 from py_utils import webpagereplay_go_server
9 from devil.android import forwarder
12 # From Catapult/WebPageReplay document.
42 replay_options.append('--record')
92 """Utils to help set up a Chrome Proxy."""
101 """Returns whether this proxy session was running in record mode."""
110 """Returns whether this proxy session was running in replay mode."""
115 """Returns the wpr archive file path used in this proxy session."""
[all …]
/external/cronet/build/android/pylib/utils/
Dchrome_proxy_utils.py2 # Use of this source code is governed by a BSD-style license that can be
6 from py_utils import ts_proxy_server
7 from py_utils import webpagereplay_go_server
9 from devil.android import forwarder
12 # From Catapult/WebPageReplay document.
42 replay_options.append('--record')
92 """Utils to help set up a Chrome Proxy."""
101 """Returns whether this proxy session was running in record mode."""
110 """Returns whether this proxy session was running in replay mode."""
115 """Returns the wpr archive file path used in this proxy session."""
[all …]
/external/rust/crates/grpcio-sys/grpc/third_party/xds/proposals/
DTP2-dynamically-generated-cacheable-xds-resources.md2 ----
6 * Last updated: 2022-02-09
14 [xRFC TP1](TP1-xds-transport-next.md)), the mechanism described in
24 There are many use-cases where a control plane may need to
32 https://cloud.google.com/traffic-director/docs/configure-advanced-traffic-management#config-filteri…
35 The new xDS naming scheme described in [xRFC TP1](TP1-xds-transport-next.md)
41 - Dynamic context parameters are viral, spreading from a given resource
56 - In the new xDS naming scheme, context parameters are exact-match-only.
61 performance. For example, in the "dynamic route selection" use-case,
63 parameters, `env` (which can have one of the values `prod`, `canary`, or
[all …]
/external/grpc-grpc/src/core/client_channel/
Dhttp_proxy_mapper.cc9 // http://www.apache.org/licenses/LICENSE-2.0
50 #include "src/core/lib/gprpp/env.h"
103 /// Parses the 'https_proxy' env var (fallback on 'http_proxy') and returns the
104 /// proxy hostname to resolve or nullopt on error. Also sets 'user_cred' to user
105 /// credentials if present in the 'http_proxy' env var, otherwise leaves it
112 // We check the following places to determine the HTTP proxy to use, stopping in GetHttpProxyServer()
118 // If none of the above are set, then no HTTP proxy will be used. in GetHttpProxyServer()
126 // an empty value means "don't use proxy" in GetHttpProxyServer()
127 if (uri_str->empty()) return absl::nullopt; in GetHttpProxyServer()
129 if (!uri.ok() || uri->authority().empty()) { in GetHttpProxyServer()
[all …]
/external/rust/crates/grpcio-sys/grpc/src/core/ext/filters/client_channel/
Dhttp_proxy.cc9 // http://www.apache.org/licenses/LICENSE-2.0
50 #include "src/core/lib/gprpp/env.h"
87 /// Parses the 'https_proxy' env var (fallback on 'http_proxy') and returns the
88 /// proxy hostname to resolve or nullopt on error. Also sets 'user_cred' to user
89 /// credentials if present in the 'http_proxy' env var, otherwise leaves it
96 // We check the following places to determine the HTTP proxy to use, stopping in GetHttpProxyServer()
102 // If none of the above are set, then no HTTP proxy will be used. in GetHttpProxyServer()
110 // an empty value means "don't use proxy" in GetHttpProxyServer()
111 if (uri_str->empty()) return absl::nullopt; in GetHttpProxyServer()
113 if (!uri.ok() || uri->authority().empty()) { in GetHttpProxyServer()
[all …]
/external/autotest/server/cros/dynamic_suite/
Dfrontend_wrappers.py2 # Use of this source code is governed by a BSD-style license that can be
9 from . import common
10 from autotest_lib.client.common_lib import env
11 from autotest_lib.client.common_lib import error
12 from autotest_lib.client.common_lib import utils
13 from autotest_lib.client.common_lib.cros import retry
14 from autotest_lib.frontend.afe.json_rpc import proxy
15 from autotest_lib.server import frontend
17 from autotest_lib.utils.frozen_chromite.lib import retry_util
18 from autotest_lib.utils.frozen_chromite.lib import timeout_util
[all …]

1234567891011