diff options
author | R David Murray <rdmurray@bitdance.com> | 2014-08-30 20:51:59 (GMT) |
---|---|---|
committer | R David Murray <rdmurray@bitdance.com> | 2014-08-30 20:51:59 (GMT) |
commit | 0cff49fcf9b5689a8940c318ea0d846317f3a7d3 (patch) | |
tree | 6cfaf2c7f2cd5ae1bec06c6dabab72b23d3e9939 /Misc | |
parent | a64b92edd3b7c9145e014aac9a15821d7b05b71a (diff) | |
download | cpython-0cff49fcf9b5689a8940c318ea0d846317f3a7d3.zip cpython-0cff49fcf9b5689a8940c318ea0d846317f3a7d3.tar.gz cpython-0cff49fcf9b5689a8940c318ea0d846317f3a7d3.tar.bz2 |
#22215: have the smtplib 'quit' command reset the state.
Without this reset, starttls would fail if a connect/starttls was done after a
quit, because smtplib assumed the existing value of emspt_features was
accurate, but it gets reset when starttls completes (and the new value does
not contain the starttls capability, since tls is already started at that
point). (There may be additional places where this lack of reset was an
issue as well.)
Patch by Milan Oberkirch.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -27,6 +27,10 @@ Core and Builtins Library ------- +- Issue #22216: smtplib now resets its state more completely after a quit. The + most obvious consequence of the previous behavior was a STARTTLS failure + during a connect/starttls/quit/connect/starttls sequence. + - Issue #22185: Fix an occasional RuntimeError in threading.Condition.wait() caused by mutation of the waiters queue without holding the lock. Patch by Doug Zongker. |