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

Yuya Nishihara yuya at tcha.org
Tue Jul 17 13:22:02 UTC 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