This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author lcatucci
Recipients bronger, catalin.iacob, giampaolo.rodola, lcatucci, pitrou, r.david.murray
Date 2013-05-19.19:07:39
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
In-reply-to <>
On Sun, 19 May 2013, R. David Murray wrote:

RDM> R. David Murray added the comment:
RDM> Lorenzo, any chance you could supply a unit test that fails without 
RDM> smtplib_05_shutdown_socket.diff applied?

It would really be a functional test, since the problem with half-open 
connection pile-up stems from smtp server's access control rules.

To test we should setup a fake smtp server, which forbids having multiple
connections from the same IP address, and connect twice in a row to the 
fake server. I'm not sure I'm able to implement both an server
serving more than one connection and the client code in a race-free way in 
the same "unit" test. Will try in the next week.

Thank you very much,

Date User Action Args
2013-05-19 19:07:39lcatuccisetrecipients: + lcatucci, pitrou, bronger, giampaolo.rodola, r.david.murray, catalin.iacob
2013-05-19 19:07:39lcatuccilinkissue4470 messages
2013-05-19 19:07:39lcatuccicreate