viciious / go-tarantool

Tarantool 1.6+ connector for Go language
MIT License
49 stars 14 forks source link

Clear out possible credentials from RemoteAddr in stable #27

Closed rkravchik closed 5 years ago

rkravchik commented 5 years ago

Sanitize dsn string given to the New connector from user/pass after first Connect call. We can't do it in New itself for backward compatibility.

(cherry picked from commit 3e5e4df8c878874ba446d55254659f9532bb89dc)

viciious commented 5 years ago

On a side note: this also fixes a possible deadlock in Connect()