PyMySQL/PyMySQL — pull request #189 by Mixles (2013-10-18 19:01:33+00:00)
Title: currently update read stream during ssl authentication

Previously, secure database connections broke during authentication because when the socket was wrapped using ssl, the read stream remained pointed at the raw socket. This change updates the read stream to point to the secure socket as soon as the secure connection is established.