Home
last modified time | relevance | path

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

/external/cronet/net/proxy_resolution/
Dconfigured_proxy_resolution_service_unittest.cc2 // Use of this source code is governed by a BSD-style license that can be
119 // PAC script contents or WPAD results have changed).
127 // polling, then it might start a background re-try in the middle of our test
130 // The tests which verify the polling code re-enable the polling behavior but
159 const char kValidPacScript1[] = "pac-script-v1-FindProxyForURL";
160 const char16_t kValidPacScript116[] = u"pac-script-v1-FindProxyForURL";
161 const char kValidPacScript2[] = "pac-script-v2-FindProxyForURL";
162 const char16_t kValidPacScript216[] = u"pac-script-v2-FindProxyForURL";
222 result->UseNamedProxy("delegate_proxy.com"); in OnResolveProxy()
224 result->UseDirect(); in OnResolveProxy()
[all …]
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 …]
Dconfigured_proxy_resolution_service.cc2 // Use of this source code is governed by a BSD-style license that can be
62 // When the IP address changes we don't immediately re-run proxy auto-config.
64 // attempting to re-valuate proxy auto-config.
68 // required amount of them, the proxy auto-config step will be run, and the
74 // we were to run proxy auto-config right away, it could fail due to spurious
79 // poll the PAC script for changes, which will allow us to recover from these
83 // This is the default policy for polling the PAC script.
110 // The motivation for re-trying after a success is to check for possible
111 // content changes to the script, or to the WPAD auto-discovery results. We are
113 // overloading existing PAC setups. Moreover it is unlikely that PAC scripts
[all …]
Dproxy_resolver_mac.cc2 // Use of this source code is governed by a BSD-style license that can be
96 #pragma mark - SynchronizedRunLoopObserver
101 // of proxy resolver, the observer is used to synchronize the execution of the
169 // In the context of the proxy resolver that happens when the proxy for a in RunLoopObserverCallBack()
199 observerInstance->RunLoopObserverCallBack(observer, activity); in RunLoopObserverCallBackFunc()
202 #pragma mark - ProxyResolverMac
226 // Gets the proxy information for a query URL from a PAC. Implementation
235 // OS X's system resolver does not support WebSocket URLs in proxy.pac, as of in GetProxyForURL()
252 script_data_->type() == PacFileData::TYPE_AUTO_DETECT in GetProxyForURL()
254 : script_data_->url().spec())); in GetProxyForURL()
[all …]
Dmulti_threaded_proxy_resolver.h2 // Use of this source code is governed by a BSD-style license that can be
27 // able to keep servicing PAC requests even if one blocks its execution.
30 // test the script. If this succeeds, we cache the input script, and will re-use
39 // single script. This can affect compatibility on some classes of PAC
47 // (b) Scripts whose FindProxyForURL() depends on side-effects may now
48 // work differently. For example, a PAC script which was incrementing
50 // multi-threaded model, each thread may have a different value for this
60 std::unique_ptr<ProxyResolver>* resolver,
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.
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
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 …]
Dconfigured_proxy_resolution_service.h2 // Use of this source code is governed by a BSD-style license that can be
32 #include "third_party/abseil-cpp/absl/types/optional.h"
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
[all …]
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::__anon17a704aa0111::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 …]
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()
116 const Rules::Rule& rule = rules_->GetRuleByUrl(url); in Fetch()
197 // Succeed using custom PAC script.
204 config.set_pac_url(GURL("http://custom/proxy.pac")); in TEST()
206 Rules::Rule rule = rules.AddSuccessRule("http://custom/proxy.pac"); in TEST()
215 EXPECT_EQ(rule.text(), decider.script_data().data->utf16()); in TEST()
235 // Fail downloading the custom PAC script.
242 config.set_pac_url(GURL("http://custom/proxy.pac")); in TEST()
244 rules.AddFailDownloadRule("http://custom/proxy.pac"); in TEST()
[all …]
/external/cronet/net/docs/
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 …]
/external/cronet/net/proxy_resolution/win/
Dproxy_resolver_winhttp.cc2 // Use of this source code is governed by a BSD-style license that can be
25 if (info->lpszProxy) in FreeInfo()
26 GlobalFree(info->lpszProxy); in FreeInfo()
27 if (info->lpszProxyBypass) in FreeInfo()
28 GlobalFree(info->lpszProxyBypass); in FreeInfo()
82 : pac_url_(script_data->type() == PacFileData::TYPE_AUTO_DETECT in ProxyResolverWinHttp()
84 : script_data->url()) {} in ProxyResolverWinHttp()
101 // Windows' system resolver does not support WebSocket URLs in proxy.pac. This in GetProxyForURL()
105 // https://docs.microsoft.com/en-us/windows/desktop/api/winhttp/nf-winhttp-winhttpgetproxyforurl. in GetProxyForURL()
115 // If we have been given an empty PAC url, then use auto-detection. in GetProxyForURL()
[all …]
/external/cronet/net/websockets/
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.
78 #include "third_party/abseil-cpp/absl/types/optional.h"
79 #include "third_party/abseil-cpp/absl/types/variant.h"
96 static const char kEchoServer[] = "echo-with-no-extension";
243 base::SingleThreadTaskRunner::GetCurrentDefault()->PostTask( in OnSSLCertificateError()
322 context_ = context_builder_->Build(); in InitialiseContext()
323 context_->proxy_resolution_service()->SetProxyDelegate( in InitialiseContext()
343 channel_->SendAddChannelRequest( in ConnectAndWait()
347 event_interface_->WaitForResponse(); in ConnectAndWait()
[all …]
/external/cronet/net/url_request/
Durl_request_context_builder.h2 // Use of this source code is governed by a BSD-style license that can be
47 #include "third_party/abseil-cpp/absl/types/optional.h"
73 // that are not explicitly configured will use reasonable in-memory defaults.
75 // The returned URLRequestContext is self-contained: Deleting it will safely
95 // In-memory cache.
170 // Sets whether quick PAC checks are enabled. Defaults to true. Ignored if
177 // libraries to evaluate PAC scripts, if available (And if not, skips PAC
190 // Call these functions to specify hard-coded Accept-Language
191 // or User-Agent header values for all requests that don't
222 // If set to non-empty, the mapping rules will be applied to requests to the
[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
78 env->GetPrimitiveArrayCritical(serializedProto.obj(), /*isCopy=*/nullptr); in GetBaseFeatureOverrides()
81 env->ReleasePrimitiveArrayCritical(serializedProto.obj(), in GetBaseFeatureOverrides()
91 base::CommandLine::Init(sizeof(argv) / sizeof(*argv) - 1, argv); in NativeInit()
115 return g_init_task_executor->task_runner()->RunsTasksInCurrentSequence(); in OnInitThread()
123 return -1; in CronetOnLoad()
126 return -1; in CronetOnLoad()
133 base::ThreadPoolInstance::Get()->Shutdown(); in CronetOnUnLoad()
161 if (base::android::BuildInfo::GetInstance()->sdk_int() == in JNI_CronetLibraryLoader_GetCronetVersion()
176 g_init_task_executor->task_runner()->PostTask(posted_from, std::move(task)); in PostTaskToInitThread()
[all …]
/external/rust/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 …]
/external/grpc-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 …]
/external/cronet/net/base/
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 FTP errors
22 // 700-799 Certificate manager errors
[all …]
/external/curl/docs/
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 …]
/external/cronet/net/log/
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
248 // "dns_query_type": <DnsQueryType of a not-yet-started transaction>,
[all …]
/external/pigweed/pw_web/log-viewer/
Dpackage-lock.json2 "name": "log-viewer",
8 "name": "log-viewer",
11 "@lit-labs/virtualizer": "^2.0.7",
12 "@material/web": "^1.0.0-pre.16",
13 "@shoelace-style/shoelace": "^2.15.0",
15 "prettier-plugin-jsdoc": "^0.4.2"
18 "@open-wc/testing": "^3.0.0-next.5",
19 "@remcovaes/web-test-runner-vite-plugin": "^1.2.1",
21 "@typescript-eslint/eslint-plugin": "^5.59.7",
22 "@web/test-runner": "^0.18.0",
[all …]
/external/perfetto/ui/
Dpnpm-lock.yaml23 '@codemirror/theme-one-dark':
38 '@types/color-convert':
59 '@types/w3c-web-usb':
68 color-convert:
74 devtools-protocol:
89 jsbn-rsa:
95 noice-json-rpc:
104 protobufjs-cli:
119 vega-lite:
124 '@rollup/plugin-commonjs':
[all …]
/external/cronet/net/http/
Dhttp_network_transaction_unittest.cc2 // Use of this source code is governed by a BSD-style license that can be
127 #include "third_party/abseil-cpp/absl/types/optional.h"
156 //-----------------------------------------------------------------------------
175 "Alt-Svc: h2=\"mail.example.org:443\"\r\n";
179 ->GetSocketPool(HttpNetworkSession::NORMAL_SOCKET_POOL, in GetIdleSocketCountInTransportSocketPool()
181 ->IdleSocketCount(); in GetIdleSocketCountInTransportSocketPool()
186 ->GetSocketPool(HttpNetworkSession::NORMAL_SOCKET_POOL, in IsTransportSocketPoolStalled()
188 ->IsStalled(); in IsTransportSocketPoolStalled()
205 // Tests LoadTimingInfo in the case a socket is reused and no PAC script is
225 // Tests LoadTimingInfo in the case a new socket is used and no PAC script is
[all …]
/external/bazelbuild-rules_go/third_party/
Dorg_golang_x_tools-deletegopls.patch1 diff -urN a/gopls/api-diff/api_diff.go b/gopls/api-diff/api_diff.go
2 --- a/gopls/api-diff/api_diff.go 2000-01-01 00:00:00.000000000 -0000
3 +++ b/gopls/api-diff/api_diff.go 1970-01-01 00:00:00.000000000 +0000
4 @@ -1,89 +0,0 @@
5 -// Copyright 2021 The Go Authors. All rights reserved.
6 -// Use of this source code is governed by a BSD-style
7 -// license that can be found in the LICENSE file.
8 -
9 -//go:build go1.18
10 -// +build go1.18
[all …]