Searched refs:setKeepAlive (Results 1 – 15 of 15) sorted by relevance
/third_party/node/test/parallel/ |
D | test-net-server-keepalive.js | 10 const setKeepAlive = socket._handle.setKeepAlive; constant 11 socket._handle.setKeepAlive = common.mustCall((enable, initialDelay) => { 14 return setKeepAlive.call(socket._handle, enable, initialDelay); 16 socket.setKeepAlive(true, 1000); 17 socket.setKeepAlive(true, 2000); 18 socket.setKeepAlive(true, 3000); 27 const setKeepAlive = clientHandle.setKeepAlive; constant 28 clientHandle.setKeepAlive = common.mustCall((enable, initialDelayMsecs) => { 31 setKeepAlive.call(clientHandle, enable, initialDelayMsecs); 32 clientHandle.setKeepAlive = setKeepAlive;
|
D | test-net-keepalive.js | 40 assert.notStrictEqual(connection.setKeepAlive, undefined); 42 connection.setKeepAlive(true, common.platformTimeout(50));
|
D | test-net-persistent-keepalive.js | 19 assert.strictEqual(typeof connection.setKeepAlive, 'function'); 30 const s = clientConnection.setKeepAlive(true, 400);
|
D | test-net-connect-keepalive.js | 28 client._handle.setKeepAlive = common.mustCall( 50 client._handle.setKeepAlive = common.mustNotCall();
|
D | test-http2-socket-proxy.js | 63 assert.throws(() => socket.setKeepAlive, errMsg); 74 assert.throws(() => (socket.setKeepAlive = undefined), errMsg);
|
D | test-net-after-close.js | 41 c.setKeepAlive();
|
/third_party/node/lib/ |
D | net.js | 620 Socket.prototype.setKeepAlive = function(enable, initialDelayMsecs) { method in Socket 630 if (!this._handle.setKeepAlive) { 642 this._handle.setKeepAlive(enable, initialDelay); 1536 if (self[kSetKeepAlive] && self._handle.setKeepAlive) { 1537 self._handle.setKeepAlive(true, self[kSetKeepAliveInitialDelay]); 2093 if (self.keepAlive && clientHandle.setKeepAlive) { 2096 clientHandle.setKeepAlive(true, self.keepAliveInitialDelay);
|
D | _http_agent.js | 483 socket.setKeepAlive(true, this.keepAliveMsecs);
|
/third_party/node/deps/undici/src/lib/core/ |
D | connect.js | 126 socket.setKeepAlive(true, keepAliveInitialDelay)
|
/third_party/node/doc/api/ |
D | net.md | 930 [`socket.setKeepAlive([enable][, initialDelay])`][`socket.setKeepAlive(enable, initialDelay)`]. 1216 ### `socket.setKeepAlive([enable][, initialDelay])` 1563 [`socket.setKeepAlive([enable][, initialDelay])`][`socket.setKeepAlive(enable, initialDelay)`]. 1780 [`socket.setKeepAlive(enable, initialDelay)`]: #socketsetkeepaliveenable-initialdelay
|
D | http.md | 234 socket.setKeepAlive(true, this.keepAliveMsecs); 1122 [`socket.setKeepAlive()`][] will be called. 3226 …similarly on what is done in \[`socket.setKeepAlive([enable][, initialDelay])`]\[`socket.setKeepAl… 3851 [`socket.setKeepAlive()`]: net.md#socketsetkeepaliveenable-initialdelay
|
/third_party/node/doc/changelogs/ |
D | CHANGELOG_ARCHIVE.md | 1560 * tls: fix CryptoStream.setKeepAlive() (Shigeki Ohtsu) 3594 * stream.setKeepAlive (Julian Lamb)
|
D | CHANGELOG_IOJS.md | 1103 * **node**: To allow for chaining of methods, the `setTimeout()`, `setKeepAlive()`, `setNoDelay()`,… 1131 …fe3e0)] - **(SEMVER-MINOR)** **net**: return this from setNoDelay and setKeepAlive (Roman Reiss) […
|
/third_party/node/deps/undici/ |
D | undici.js | 6572 socket.setKeepAlive(true, keepAliveInitialDelay);
|
/third_party/node/deps/corepack/dist/lib/ |
D | corepack.cjs | 12168 socket.setKeepAlive(true);
|