https://github.com/python/cpython
Revision f1a40b4ec5bd25411189e33de1cdabdc6780cd8c authored by R David Murray on 21 March 2013, 01:12:17 UTC, committed by R David Murray on 21 March 2013, 01:12:17 UTC
This is a partial fix to the issue of servers disconnecting unexpectedly; in
this case the 421 says they are disconnecting, so we close the socket and
return the 421 in the appropriate error context.

Original patch by Mark Sapiro, updated by Kushal Das, with additional
tests by me.
2 parent s f219c8d + d312c74
History
Tip revision: f1a40b4ec5bd25411189e33de1cdabdc6780cd8c authored by R David Murray on 21 March 2013, 01:12:17 UTC
Merge: #5713: Handle 421 error codes during sendmail by closing the socket.
Tip revision: f1a40b4
File Mode Size
Doc
Grammar
Include
Lib
Mac
Misc
Modules
Objects
PC
PCbuild
Parser
Python
Tools
.bzrignore -rw-r--r-- 584 bytes
.gitignore -rw-r--r-- 891 bytes
.hgeol -rw-r--r-- 721 bytes
.hgignore -rw-r--r-- 1.1 KB
.hgtags -rw-r--r-- 5.3 KB
.hgtouch -rw-r--r-- 1.2 KB
LICENSE -rw-r--r-- 14.6 KB
Makefile.pre.in -rw-r--r-- 48.0 KB
README -rw-r--r-- 6.3 KB
config.guess -rwxr-xr-x 43.8 KB
config.sub -rwxr-xr-x 34.8 KB
configure -rwxr-xr-x 430.1 KB
configure.ac -rw-r--r-- 132.7 KB
install-sh -rwxr-xr-x 7.0 KB
pyconfig.h.in -rw-r--r-- 39.4 KB
setup.py -rw-r--r-- 92.1 KB

README

back to top