vapor / mysql-nio

🐬 Non-blocking, event-driven Swift client for MySQL.
MIT License
90 stars 27 forks source link

fix hanging issue when tls is declined #13

Closed tanner0101 closed 4 years ago

tanner0101 commented 4 years ago

Fixes an issue where connect would hang infinitely if tlsConfiguration was set to nil. This was because the CLIENT_SSL capability was accidentally enabled by default last release and that causes MySQL to always setup TLS.

Some additional trace logs were added as well to help future debugging.