Issue 1713993: smtplib starttls() didn't do TLS Close Notify when quit() (original) (raw)

[code] server = smtplib.SMTP('smtp.gmail.com') server.set_debuglevel(1) server.ehlo('x') server.starttls() server.ehlo('x') server.noop() server.rset() server.quit() [/code] will always result in "sslerror: (8, 'EOF occurred in violation of protocol')", although this won't really effect data transmission but this is really annoying,

relative discussion can be found http://www.dbforums.com/archive/index.php/t-1401931.html