D3956: mail: stop using the smtplib.SSLFakeFile and use socket.socket.makefile

Yuya Nishihara yuya at tcha.org
Tue Jul 17 09:22:02 EDT 2018


> -        self.file = smtplib.SSLFakeFile(new_socket)
> +        self.file = new_socket.makefile()

I'm not pretty sure, but missing 'rb'?


More information about the Mercurial-devel mailing list