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 <alpine.DEB.2.02.1305192054460.25273@ronzinante.ccd.uniroma2.it>
In-reply-to <1368989544.21.0.263081981529.issue4470@psf.upfronthosting.co.za>
Content
On Sun, 19 May 2013, R. David Murray wrote:

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

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 smtpd.py 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,

	lorenzo
History
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