197f86f90d
On Windows, after a connect attempt has failed, an error event with ECONNRESET is emitted after the real connect error is propagated to the connect callback, because the connection is not in ending state (connection._ending) where ECONNRESET is ignored. This change ends the connection when connect has failed. This fixes #746. |
||
---|---|---|
.. | ||
native | ||
client.js | ||
connection-parameters.js | ||
connection.js | ||
defaults.js | ||
index.js | ||
pool-factory.js | ||
query.js | ||
result.js | ||
type-overrides.js | ||
utils.js |