(context, req, handle)
| 1957 | } |
| 1958 | |
| 1959 | function internalConnectMultipleTimeout(context, req, handle) { |
| 1960 | debug('connect/multiple: connection to %s:%s timed out', req.address, req.port); |
| 1961 | context.socket.emit('connectionAttemptTimeout', req.address, req.port, req.addressType); |
| 1962 | |
| 1963 | req.oncomplete = undefined; |
| 1964 | ArrayPrototypePush(context.errors, createConnectionError(req, UV_ETIMEDOUT)); |
| 1965 | handle.close(); |
| 1966 | |
| 1967 | // Try the next address, unless we were aborted |
| 1968 | if (context.socket.connecting) { |
| 1969 | internalConnectMultiple(context); |
| 1970 | } |
| 1971 | } |
| 1972 | |
| 1973 | function addServerAbortSignalOption(self, options) { |
| 1974 | if (options?.signal === undefined) { |
nothing calls this directly
no test coverage detected
searching dependent graphs…