summaryrefslogtreecommitdiffstats
path: root/Lib/test/mock_socket.py
Commit message (Collapse)AuthorAgeFilesLines
* #21725: Add RFC 6531 (SMTPUTF8) support to smtpd.R David Murray2014-08-091-1/+1
| | | | | | | | | | | Patch by Milan Oberkirch, developed as part of his 2014 GSOC project. Note that this also fixes a bug in mock_socket ('getpeername' was returning a simple string instead of the tuple required for IPvX protocols), a bug in DebugServer with respect to handling binary data (should have been fixed when decode_data was introduced, but wasn't found until this patch was written), and a long-standing bug in DebugServer (it was printing an extra blank line at the end of the displayed message text).
* #14758: Fix the fix (fix getaddrinfo in mock_socket)R David Murray2014-06-111-3/+3
| | | | I forgot to run all the affected tests when I fixed smtpd.
* #14758: add IPv6 support to smtpd.R David Murray2014-06-111-4/+7
| | | | Patch by Milan Oberkirch.
* merge with 3.3Georg Brandl2014-02-101-2/+7
|\
| * #16042: CVE-2013-1752: smtplib fix for unlimited readline() from socketGeorg Brandl2014-01-251-2/+7
| |
* | Issue #16647: save socket error details in LMTP.connect()Andrew Svetlov2012-12-171-6/+2
|/ | | | Initial patch by Serhiy Storchaka.
* Fix closes Issue11281 - smtplib.STMP gets source_address parameter, which ↵Senthil Kumaran2011-07-301-1/+2
| | | | adds the ability to bind to specific source address on a machine with multiple interfaces. Patch by Paulo Scardine.
* fix test_smtplib/test_smtpd collision through pre-loaded reply data in ↵Richard Jones2010-08-041-0/+1
| | | | mock_socket
* improvements to test_smtplib per issue2423Richard Jones2010-08-031-0/+153
merged the socket mock introduced in test_smtpd