Staging
v0.8.1
v0.8.1
https://github.com/python/cpython
Revision d312c740f15b2ee8ba242fb779884f7e19b28a7e authored by R David Murray on 21 March 2013, 00:36:14 UTC, committed by R David Murray on 21 March 2013, 00:36:14 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.
1 parent 958f7ae
Tip revision: d312c740f15b2ee8ba242fb779884f7e19b28a7e authored by R David Murray on 21 March 2013, 00:36:14 UTC
#5713: Handle 421 error codes during sendmail by closing the socket.
#5713: Handle 421 error codes during sendmail by closing the socket.
Tip revision: d312c74
File | Mode | Size |
---|---|---|
Python-ast.c | -rw-r--r-- | 266.5 KB |
_warnings.c | -rw-r--r-- | 27.1 KB |
asdl.c | -rw-r--r-- | 1.4 KB |
ast.c | -rw-r--r-- | 101.7 KB |
bltinmodule.c | -rw-r--r-- | 71.5 KB |
ceval.c | -rw-r--r-- | 136.5 KB |
ceval_gil.h | -rw-r--r-- | 14.1 KB |
codecs.c | -rw-r--r-- | 30.3 KB |
compile.c | -rw-r--r-- | 115.7 KB |
dtoa.c | -rw-r--r-- | 79.2 KB |
dup2.c | -rw-r--r-- | 705 bytes |
dynamic_annotations.c | -rw-r--r-- | 6.6 KB |
dynload_aix.c | -rw-r--r-- | 5.6 KB |
dynload_dl.c | -rw-r--r-- | 564 bytes |
dynload_hpux.c | -rw-r--r-- | 1.5 KB |
dynload_next.c | -rw-r--r-- | 3.9 KB |
dynload_os2.c | -rw-r--r-- | 1.2 KB |
dynload_shlib.c | -rw-r--r-- | 4.2 KB |
dynload_stub.c | -rw-r--r-- | 202 bytes |
dynload_win.c | -rw-r--r-- | 9.6 KB |
errors.c | -rw-r--r-- | 24.6 KB |
fileutils.c | -rw-r--r-- | 18.1 KB |
formatter_unicode.c | -rw-r--r-- | 506 bytes |
frozen.c | -rw-r--r-- | 1.4 KB |
frozenmain.c | -rw-r--r-- | 2.7 KB |
future.c | -rw-r--r-- | 4.3 KB |
getargs.c | -rw-r--r-- | 52.0 KB |
getcompiler.c | -rw-r--r-- | 366 bytes |
getcopyright.c | -rw-r--r-- | 502 bytes |
getcwd.c | -rw-r--r-- | 1.5 KB |
getopt.c | -rw-r--r-- | 3.4 KB |
getplatform.c | -rw-r--r-- | 130 bytes |
getversion.c | -rw-r--r-- | 289 bytes |
graminit.c | -rw-r--r-- | 40.6 KB |
import.c | -rw-r--r-- | 116.3 KB |
importdl.c | -rw-r--r-- | 2.7 KB |
importdl.h | -rw-r--r-- | 1.0 KB |
makeopcodetargets.py | -rwxr-xr-x | 1.3 KB |
marshal.c | -rw-r--r-- | 39.7 KB |
modsupport.c | -rw-r--r-- | 14.2 KB |
mysnprintf.c | -rw-r--r-- | 3.3 KB |
mystrtoul.c | -rw-r--r-- | 8.1 KB |
opcode_targets.h | -rw-r--r-- | 6.2 KB |
peephole.c | -rw-r--r-- | 24.3 KB |
pyarena.c | -rw-r--r-- | 5.8 KB |
pyctype.c | -rw-r--r-- | 7.7 KB |
pyfpe.c | -rw-r--r-- | 623 bytes |
pymath.c | -rw-r--r-- | 1.5 KB |
pystate.c | -rw-r--r-- | 21.7 KB |
pystrcmp.c | -rw-r--r-- | 613 bytes |
pystrtod.c | -rw-r--r-- | 37.6 KB |
pythonrun.c | -rw-r--r-- | 68.2 KB |
pytime.c | -rw-r--r-- | 1.7 KB |
random.c | -rw-r--r-- | 7.8 KB |
sigcheck.c | -rw-r--r-- | 529 bytes |
strdup.c | -rw-r--r-- | 256 bytes |
structmember.c | -rw-r--r-- | 8.7 KB |
symtable.c | -rw-r--r-- | 53.4 KB |
sysmodule.c | -rw-r--r-- | 57.7 KB |
thread.c | -rw-r--r-- | 11.3 KB |
thread_cthread.h | -rw-r--r-- | 2.3 KB |
thread_foobar.h | -rw-r--r-- | 1.4 KB |
thread_lwp.h | -rw-r--r-- | 2.8 KB |
thread_nt.h | -rw-r--r-- | 8.2 KB |
thread_os2.h | -rw-r--r-- | 5.7 KB |
thread_pth.h | -rw-r--r-- | 4.6 KB |
thread_pthread.h | -rw-r--r-- | 17.1 KB |
thread_sgi.h | -rw-r--r-- | 8.0 KB |
thread_solaris.h | -rw-r--r-- | 2.6 KB |
thread_wince.h | -rw-r--r-- | 3.5 KB |
traceback.c | -rw-r--r-- | 10.7 KB |
Computing file changes ...