Home
last modified time | relevance | path

Searched +full:pac +full:- +full:resolver (Results 1 – 25 of 481) sorted by relevance

12345678910>>...20

/aosp_15_r20/external/cronet/net/proxy_resolution/
H A Dconfigured_proxy_resolution_service_unittest.cc2 // Use of this source code is governed by a BSD-style license that can be
120 // PAC script contents or WPAD results have changed).
128 // polling, then it might start a background re-try in the middle of our test
131 // The tests which verify the polling code re-enable the polling behavior but
160 const char kValidPacScript1[] = "pac-script-v1-FindProxyForURL";
161 const char16_t kValidPacScript116[] = u"pac-script-v1-FindProxyForURL";
162 const char kValidPacScript2[] = "pac-script-v2-FindProxyForURL";
163 const char16_t kValidPacScript216[] = u"pac-script-v2-FindProxyForURL";
223 result->UseNamedProxy("delegate_proxy.com"); in OnResolveProxy()
225 result->UseDirect(); in OnResolveProxy()
[all …]
H A Dconfigured_proxy_resolution_service.cc2 // Use of this source code is governed by a BSD-style license that can be
60 // When the IP address changes we don't immediately re-run proxy auto-config.
62 // attempting to re-valuate proxy auto-config.
66 // required amount of them, the proxy auto-config step will be run, and the
72 // we were to run proxy auto-config right away, it could fail due to spurious
77 // poll the PAC script for changes, which will allow us to recover from these
81 // This is the default policy for polling the PAC script.
108 // The motivation for re-trying after a success is to check for possible
109 // content changes to the script, or to the WPAD auto-discovery results. We are
111 // overloading existing PAC setups. Moreover it is unlikely that PAC scripts
[all …]
H A Dmulti_threaded_proxy_resolver_unittest.cc2 // Use of this source code is governed by a BSD-style license that can be
50 // - returns a single-item proxy list with the query's host.
76 results->UseNamedProxy(query_url.host()); in GetProxyForURL()
142 // Waits until the proxy resolver is blocked within GetProxyForURL().
191 auto resolver = std::make_unique<BlockableProxyResolver>(); in CreateProxyResolver() local
192 BlockableProxyResolver* resolver_ptr = resolver.get(); in CreateProxyResolver()
193 *result = std::move(resolver); in CreateProxyResolver()
244 resolver_factory_->CreateProxyResolver( in Init()
245 PacFileData::FromUTF8("pac script bytes"), &resolver_, in Init()
250 // Verify that the script data reaches the synchronous resolver factory. in Init()
[all …]
H A Dproxy_resolver_apple.cc2 // Use of this source code is governed by a BSD-style license that can be
77 #pragma mark - SynchronizedRunLoopObserver
82 // of proxy resolver, the observer is used to synchronize the execution of the
150 // In the context of the proxy resolver that happens when the proxy for a in RunLoopObserverCallBack()
159 lock_->Acquire(); in RunLoopObserverCallBack()
167 lock_->Release(); in RunLoopObserverCallBack()
180 observerInstance->RunLoopObserverCallBack(observer, activity); in RunLoopObserverCallBackFunc()
183 #pragma mark - ProxyResolverApple
207 // Gets the proxy information for a query URL from a PAC. Implementation
216 // OS X's system resolver does not support WebSocket URLs in proxy.pac, as of in GetProxyForURL()
[all …]
H A Dpac_file_decider.cc2 // Use of this source code is governed by a BSD-style license that can be
39 // file not containing the string is not likely to be a PAC script. in LooksLikePacScript()
45 // This is the hard-coded location used by the DNS portion of web proxy
46 // auto-discovery.
82 source = "Custom PAC URL: "; in NetLogParams()
115 // Save the |wait_delay| as a non-negative value. in Start()
161 // (3) Custom PAC URL.
256 if (!pac_file_fetcher_ || !pac_file_fetcher_->GetRequestContext() || in DoQuickCheck()
257 !pac_file_fetcher_->GetRequestContext()->host_resolver()) { in DoQuickCheck()
258 // If we have no resolver, skip QuickCheck altogether. in DoQuickCheck()
[all …]
H A Dmulti_threaded_proxy_resolver.cc2 // Use of this source code is governed by a BSD-style license that can be
41 // An "executor" is a job-runner for PAC requests. It encapsulates a worker
56 // |coordinator->OnExecutorReady()|.
67 // and resolver.
73 ProxyResolver* resolver() { return resolver_.get(); } in resolver() function in net::__anoncc2fe08c0111::Executor
77 void set_resolver(std::unique_ptr<ProxyResolver> resolver) { in set_resolver() argument
78 resolver_ = std::move(resolver); in set_resolver()
98 // The synchronous resolver implementation.
160 // Job ---------------------------------------------
202 executor_->OnJobCompleted(this); in OnJobCompleted()
[all …]
H A Dconfigured_proxy_resolution_service.h2 // Use of this source code is governed by a BSD-style license that can be
50 // It uses the given ProxyResolver to evaluate a PAC file, which the
53 // a PAC URL) from some source and then using these configurations to attempt to
61 // This interface defines the set of policies for when to poll the PAC
65 // milliseconds. It also decides how to wait for this delay -- either
80 // period of inactivity will likely see a stale version of the PAC script
94 // code that the last PAC fetch (or WPAD initialization) failed with,
96 // |next_delay| to a non-negative value.
122 // 1. WPAD auto-detection
123 // 2. PAC URL
[all …]
H A Dmulti_threaded_proxy_resolver.h2 // Use of this source code is governed by a BSD-style license that can be
28 // able to keep servicing PAC requests even if one blocks its execution.
31 // test the script. If this succeeds, we cache the input script, and will re-use
40 // single script. This can affect compatibility on some classes of PAC
48 // (b) Scripts whose FindProxyForURL() depends on side-effects may now
49 // work differently. For example, a PAC script which was incrementing
51 // multi-threaded model, each thread may have a different value for this
61 std::unique_ptr<ProxyResolver>* resolver,
H A Dpac_file_decider_unittest.cc2 // Use of this source code is governed by a BSD-style license that can be
65 return base::UTF8ToUTF16(url.spec() + "!invalid-script"); in text()
115 const Rules::Rule& rule = rules_->GetRuleByUrl(url); in Fetch()
196 // Succeed using custom PAC script.
203 config.set_pac_url(GURL("http://custom/proxy.pac")); in TEST()
205 Rules::Rule rule = rules.AddSuccessRule("http://custom/proxy.pac"); in TEST()
214 EXPECT_EQ(rule.text(), decider.script_data().data->utf16()); in TEST()
234 // Fail downloading the custom PAC script.
241 config.set_pac_url(GURL("http://custom/proxy.pac")); in TEST()
243 rules.AddFailDownloadRule("http://custom/proxy.pac"); in TEST()
[all …]
H A Dproxy_resolver_error_observer.h2 // Use of this source code is governed by a BSD-style license that can be
14 // Interface for observing JavaScript error messages from PAC scripts.
25 // Handler for when an error is encountered. |line_number| may be -1
30 // backing proxy resolver is ProxyResolverV8Tracing, then it will not
32 // thread than the proxy resolver's origin thread.
H A Dproxy_resolver_factory.h2 // Use of this source code is governed by a BSD-style license that can be
39 // If the result is OK, then |resolver| contains the ProxyResolver. In the
44 std::unique_ptr<ProxyResolver>* resolver,
48 // The PAC script backend can be specified to the ProxyResolverFactory either
/aosp_15_r20/external/cronet/net/docs/
H A Dproxy.md3 This document establishes basic proxy terminology and describes Chrome-specific
14 This can be written as a string using either the "PAC format" or the "URI
17 The PAC format is how one names a proxy server in [Proxy
18 auto-config](https://en.wikipedia.org/wiki/Proxy_auto-config) scripts. For
30 The port number is optional in both formats. When omitted, a per-scheme default
33 See the [Proxy server schemes](#Proxy-server-schemes) section for details on
34 what schemes Chrome supports, and how to write them in the PAC and URI formats.
38 are generally identified less precisely by just an address -- the proxy
55 identifiers](#Proxy-server-identifiers).
59 * [Manual proxy settings](#Manual-proxy-settings) - proxy resolution is defined
[all …]
/aosp_15_r20/packages/modules/Connectivity/framework/src/android/net/
DConnectivitySettingsManager.java8 * http://www.apache.org/licenses/LICENSE-2.0
92 /** Dns resolver settings */
95 * Sample validity in seconds to configure for the system DNS resolver.
103 * Success threshold in percent for use with the system DNS resolver.
112 * system DNS resolver.
119 * Maximum number taken into account for statistics purposes in the system DNS resolver.
212 * comma-separated domains where the global proxy does not apply.
213 * Domains should be listed in a comma- separated list. Example of
223 * The location PAC File for the proxy.
236 * mode changes so that temporarily disabling and re-enabling the specific
[all …]
/aosp_15_r20/packages/modules/Connectivity/service/src/com/android/server/connectivity/
DProxyTracker.java8 * http://www.apache.org/licenses/LICENSE-2.0
69 // The global proxy is the proxy that is set device-wide, overriding any network-specific
100 Log.i(TAG, "PAC proxy installed on network " + network + " : " + proxy); in onPacProxyInstalled()
120 // Convert empty ProxyInfo's to null as null-checks are used to determine if proxies are present
121 // (e.g. if mGlobalProxy==null fall back to network-specific proxy, if network-specific
136 // 2. Make sure all parts of the ProxyInfo's compare true, including the host when a PAC URL
137 // is in place. This is important so legacy PAC resolver (see com.android.proxyhandler)
138 // changes aren't missed. The legacy PAC resolver pretends to be a simple HTTP proxy but
139 // actually uses the PAC to resolve; this results in ProxyInfo's with PAC URL, host and port
144 // ProxyInfo.equals() doesn't check hosts when PAC URLs are present, but we need to check in proxyInfoEqual()
[all …]
/aosp_15_r20/external/cronet/net/proxy_resolution/win/
H A Dproxy_resolver_winhttp.cc2 // Use of this source code is governed by a BSD-style license that can be
26 if (info->lpszProxy) in FreeInfo()
27 GlobalFree(info->lpszProxy); in FreeInfo()
28 if (info->lpszProxyBypass) in FreeInfo()
29 GlobalFree(info->lpszProxyBypass); in FreeInfo()
83 : pac_url_(script_data->type() == PacFileData::TYPE_AUTO_DETECT in ProxyResolverWinHttp()
85 : script_data->url()) {} in ProxyResolverWinHttp()
102 // Windows' system resolver does not support WebSocket URLs in proxy.pac. This in GetProxyForURL()
106 // https://docs.microsoft.com/en-us/windows/desktop/api/winhttp/nf-winhttp-winhttpgetproxyforurl. in GetProxyForURL()
116 // If we have been given an empty PAC url, then use auto-detection. in GetProxyForURL()
[all …]
/aosp_15_r20/external/cronet/net/websockets/
H A Dwebsocket_end_to_end_test.cc2 // Use of this source code is governed by a BSD-style license that can be
5 // End-to-end tests for WebSocket.
79 #include "third_party/abseil-cpp/absl/types/variant.h"
96 static constexpr char kEchoServer[] = "echo-with-no-extension";
246 base::SingleThreadTaskRunner::GetCurrentDefault()->PostTask( in OnSSLCertificateError()
331 context_ = context_builder_->Build(); in InitialiseContext()
332 context_->proxy_resolution_service()->SetProxyDelegate( in InitialiseContext()
352 channel_->SendAddChannelRequest( in ConnectAndWait()
356 event_interface_->WaitForResponse(); in ConnectAndWait()
357 return !event_interface_->failed(); in ConnectAndWait()
[all …]
/aosp_15_r20/packages/modules/NetworkStack/src/com/android/server/connectivity/
DNetworkMonitor.java8 * http://www.apache.org/licenses/LICENSE-2.0
252 private static final int UNSET_MCC_OR_MNC = -1;
256 private static final String CONTENT_TYPE_HEADER = "Content-Type";
333 * Message indicating sign-in app should be launched.
344 * 0 indicates self-initiated, so nobody to blame.
350 * Private DNS. If a DNS resolution is required, e.g. for DNS-over-TLS in
453 private static final int INVALID_UID = -1;
455 // Stop blaming UID that requested re-evaluation after this many attempts.
530 // Set if the user explicitly selected "Do not use this network" in captive portal sign-in app.
630 // <timestamp> 862 2402 D NetworkMonitor/NetworkAgentInfo [WIFI () - 100]: ... in NetworkMonitor()
[all …]
/aosp_15_r20/external/curl/docs/
H A DFAQ20 1.11 Why do you not update ca-bundle.crt
35 3.3 Why does my posting using -F not work?
42 3.10 What about SOAP, WebDAV, XML-RPC or similar protocols over HTTP?
43 3.11 How do I POST with a different Content-Type?
44 3.12 Why do FTP-specific features over HTTP proxy fail?
46 3.14 Does curl support JavaScript or PAC (automated proxy config)?
54 3.22 curl -X gives me HTTP problems
74 4.13 Why is curl -R on Windows one hour off?
78 4.17 Non-functional connect timeouts on Windows
81 4.20 curl does not return error for HTTP non-200 responses
[all …]
/aosp_15_r20/external/grpc-grpc/src/core/ext/transport/cronet/transport/
H A Dcronet_status.h9 // http://www.apache.org/licenses/LICENSE-2.0
29 // 0- 99 System related errors
30 // 100-199 Connection related errors
31 // 200-299 Certificate errors
32 // 300-399 HTTP errors
33 // 400-499 Cache errors
34 // 500-599 ?
35 // 600-699 FTP errors
36 // 700-799 Certificate manager errors
37 // 800-899 DNS resolver errors
[all …]
/aosp_15_r20/external/rust/android-crates-io/crates/grpcio-sys/grpc/src/core/ext/transport/cronet/transport/
Dcronet_status.h9 // http://www.apache.org/licenses/LICENSE-2.0
29 // 0- 99 System related errors
30 // 100-199 Connection related errors
31 // 200-299 Certificate errors
32 // 300-399 HTTP errors
33 // 400-499 Cache errors
34 // 500-599 ?
35 // 600-699 FTP errors
36 // 700-799 Certificate manager errors
37 // 800-899 DNS resolver errors
[all …]
/aosp_15_r20/external/cronet/net/base/
H A Dnet_error_list.h2 // Use of this source code is governed by a BSD-style license that can be
8 // no-include-guard-because-multiply-included
15 // 0- 99 System related errors
16 // 100-199 Connection related errors
17 // 200-299 Certificate errors
18 // 300-399 HTTP errors
19 // 400-499 Cache errors
20 // 500-599 ?
21 // 600-699 <Obsolete: FTP errors>
22 // 700-799 Certificate manager errors
[all …]
/aosp_15_r20/external/cronet/net/url_request/
H A Durl_request_context_builder.h2 // Use of this source code is governed by a BSD-style license that can be
76 // that are not explicitly configured will use reasonable in-memory defaults.
78 // The returned URLRequestContext is self-contained: Deleting it will safely
98 // In-memory cache.
173 // Sets whether quick PAC checks are enabled. Defaults to true. Ignored if
180 // libraries to evaluate PAC scripts, if available (And if not, skips PAC
193 // Call these functions to specify hard-coded Accept-Language
194 // or User-Agent header values for all requests that don't
225 // If set to non-empty, the mapping rules will be applied to requests to the
226 // created host resolver. See MappedHostResolver for details. Should not be
[all …]
/aosp_15_r20/external/cronet/components/cronet/android/
H A Dcronet_library_loader.cc2 // Use of this source code is governed by a BSD-style license that can be
78 env->GetPrimitiveArrayCritical(serializedProto.obj(), /*isCopy=*/nullptr); in GetBaseFeatureOverrides()
81 env->ReleasePrimitiveArrayCritical(serializedProto.obj(), in GetBaseFeatureOverrides()
93 base::CommandLine::Init(sizeof(argv) / sizeof(*argv) - 1, argv); in JNI_CronetLibraryLoader_NativeInit()
115 return g_init_task_executor->task_runner()->RunsTasksInCurrentSequence(); in OnInitThread()
123 return -1; in CronetOnLoad()
126 return -1; in CronetOnLoad()
132 base::ThreadPoolInstance::Get()->Shutdown(); in CronetOnUnLoad()
160 if (base::android::BuildInfo::GetInstance()->sdk_int() == in JNI_CronetLibraryLoader_GetCronetVersion()
175 g_init_task_executor->task_runner()->PostTask(posted_from, std::move(task)); in PostTaskToInitThread()
[all …]
/aosp_15_r20/external/cronet/net/log/
H A Dnet_log_event_type_list.h2 // Use of this source code is governed by a BSD-style license that can be
9 // no-include-guard-because-multiply-included
17 // https://chromium.googlesource.com/chromium/src/+/HEAD/net/docs/net-log.md
19 // --------------------------------------------------------------------------
20 // General pseudo-events
21 // --------------------------------------------------------------------------
39 // ------------------------------------------------------------------------
41 // ------------------------------------------------------------------------
67 // This event is created (in a source of the same name) when the host resolver
256 // "dns_query_type": <DnsQueryType of a not-yet-started transaction>,
[all …]
/aosp_15_r20/external/pigweed/pw_web/log-viewer/
H A Dpackage-lock.json2 "name": "log-viewer",
8 "name": "log-viewer",
12 "@codemirror/lang-python": "^6.1.6",
14 "@codemirror/theme-one-dark": "^6.1.2",
15 "@lit-labs/virtualizer": "^2.0.7",
17 "@shoelace-style/shoelace": "^2.15.0",
20 "prettier-plugin-jsdoc": "^0.4.2"
23 "@open-wc/testing": "^3.0.0-next.5",
24 "@remcovaes/web-test-runner-vite-plugin": "^1.2.1",
26 "@typescript-eslint/eslint-plugin": "^5.59.7",
[all …]

12345678910>>...20