Lines Matching refs:agent
127 debug('agent.on(free)', name);
200 const agent = this;
202 agent.emit('keylog', keylog, this);
228 // Pacify parallel/test-http-agent-getname by only appending
374 function installListeners(agent, s, options) {
377 agent.emit('free', s, options);
386 agent.totalSocketCount--;
387 agent.removeSocket(s, options);
396 const sockets = agent.freeSockets;
410 agent.totalSocketCount--;
411 agent.removeSocket(s, options);
419 if (agent[kOnKeylog]) {
420 s.on('keylog', agent[kOnKeylog]);
515 function setRequestSocket(agent, req, socket) {
517 const agentTimeout = agent.options.timeout || 0;