Add testcase to test connection hang ups when a query is issued 100 ms after the last one (right when the client connection is closing)
Also added a possible fix
1.7.0-rc1
Update changelog.md
Fix CustomEventEmitter error handling

Override .emit() to first check whether the error argument is an array. In case
it is an array, reduce it to the very first error and pass it to the original
EventEmitter.emit()
Removed .only from tests
Merge pull request #1240 from saschagehlich/feature/customeventemitter-throw-error

Fix CustomEventEmitter error handling
use defaults instead of extends for dialect support
Merge branch 'master' into hotfix/query_hangup
Fix CustomEventEmitter

Make sure that objects passed to CustomEventEmitter's `error` event
are boiled down to real Error instances so that node's EventEmitter
does not give us this nasty "Uncaught, unspecified error" thing.
Fix typo
Merge pull request #1245 from saschagehlich/bugfix/customeventemitter-fix

Fix CustomEventEmitter
. fix unixSocket connection for mariadb
Merge pull request #1248 from mithrandirii/master

. fix unixSocket connection for mariadb
Merge pull request #1244 from iuriaranda/hotfix/query_hangup

New queries hang when a client connection is closed after the 100 ms period of inactivity
Update changelog.md
pool settings are not transported down to replica connections
Update connector-manager.js
Merge pull request #1251 from evantahler/master

pool settings are not transported down to replica connections
Update changelog.md
Update changelog.md