Added stress test, which uses TCP proxy to simulate flaky connections #2460
Shows #2443 crash (and earlier pool versions memory leaks with postgres).
Shows also some edge cases when connections are broken e.g. during ending connection because of timeout etc.
Removes copy-paste from mysql2 driver.
Fixes mysql driven create / destroy connection functionality.
The text was updated successfully, but these errors were encountered:
Acquire connection did bind error handler too late and didn't free it on success. Destroy did free event listeners before connection end was called, so error during connection end leaked out.