Home
last modified time | relevance | path

Searched refs:globalAgent (Results 1 – 25 of 32) sorted by relevance

12

/third_party/node/test/parallel/
Dtest-http-client-agent.js43 name = http.globalAgent.getName({ port: server.address().port });
49 assert(!http.globalAgent.sockets.hasOwnProperty(name));
50 assert(!http.globalAgent.requests.hasOwnProperty(name));
63 assert.strictEqual(http.globalAgent.sockets[name].includes(socket),
Dtest-https-agent-additional-options.js48 https.globalAgent.once('free', common.mustCall(() => {
50 const keys = Object.keys(https.globalAgent.freeSockets);
62 https.globalAgent.destroy();
77 https.globalAgent.keepAlive = true;
Dtest-http-connect-req-res.js43 assert(!http.globalAgent.sockets.hasOwnProperty(name));
44 assert(!http.globalAgent.requests.hasOwnProperty(name));
Dtest-http-connect.js70 assert(!http.globalAgent.sockets.hasOwnProperty(name));
71 assert(!http.globalAgent.requests.hasOwnProperty(name));
Dtest-http-addrequest-localaddress.js9 const agent = require('http').globalAgent;
Dtest-http-parser-free.js36 http.globalAgent.maxSockets = 1;
Dtest-http-client-override-global-agent.js14 http.globalAgent = agent;
Dtest-http-should-keep-alive.js45 http.globalAgent.maxSockets = 5;
Dtest-https-client-override-global-agent.js25 https.globalAgent = agent;
Dtest-https-agent-keylog.js44 https.globalAgent.on('keylog', common.mustCall(verifyKeylog, 10));
Dtest-http-pipe-fs.js45 http.globalAgent.maxSockets = 1;
Dtest-http-default-port.js49 mod.globalAgent.defaultPort = server.address().port;
Dtest-http-upgrade-agent.js81 assert(!http.globalAgent.sockets.hasOwnProperty(name));
Dtest-http-get-pipeline-problem.js33 http.globalAgent.maxSockets = 1;
/third_party/node/lib/
Dhttp.js144 return httpAgent.globalAgent;
147 httpAgent.globalAgent = value;
Dhttps.js328 const globalAgent = new Agent(); constant
367 options._defaultAgent = module.exports.globalAgent;
411 globalAgent, property
D_http_agent.js512 globalAgent: new Agent() property
/third_party/node/test/sequential/
Dtest-http-max-sockets.js35 const agent = http.globalAgent;
/third_party/node/deps/npm/node_modules/socks-proxy-agent/node_modules/agent-base/
DREADME.md80 return opts.secureEndpoint ? https.globalAgent : http.globalAgent;
/third_party/node/deps/npm/node_modules/agent-base/
DREADME.md80 return opts.secureEndpoint ? https.globalAgent : http.globalAgent;
/third_party/node/doc/api/
Dhttps.md72 https.globalAgent.on('keylog', (line, tlsSocket) => {
242 ## `https.globalAgent`
278 * `agent` **Default:** `https.globalAgent`
/third_party/node/deps/npm/node_modules/socks-proxy-agent/node_modules/agent-base/test/
Dtest.js18 return opts.secureEndpoint ? https.globalAgent : http.globalAgent;
/third_party/node/deps/npm/node_modules/agent-base/test/
Dtest.js18 return opts.secureEndpoint ? https.globalAgent : http.globalAgent;
/third_party/node/deps/npm/node_modules/agentkeepalive/lib/
D_http_agent.js416 exports.globalAgent = new Agent(); variable in exports
/third_party/node/deps/npm/node_modules/make-fetch-happen/
DREADME.md128 …t will be automatically used. By default, these will be `http.globalAgent` and `https.globalAgent`.

12