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.h | -rw-r--r-- | 21.3 KB |
Python.h | -rw-r--r-- | 3.6 KB |
abstract.h | -rw-r--r-- | 41.4 KB |
accu.h | -rw-r--r-- | 1016 bytes |
asdl.h | -rw-r--r-- | 1.0 KB |
ast.h | -rw-r--r-- | 304 bytes |
bitset.h | -rw-r--r-- | 792 bytes |
bltinmodule.h | -rw-r--r-- | 264 bytes |
boolobject.h | -rw-r--r-- | 886 bytes |
bytearrayobject.h | -rw-r--r-- | 2.0 KB |
bytes_methods.h | -rw-r--r-- | 2.0 KB |
bytesobject.h | -rw-r--r-- | 4.9 KB |
cellobject.h | -rw-r--r-- | 701 bytes |
ceval.h | -rw-r--r-- | 7.0 KB |
classobject.h | -rw-r--r-- | 1.6 KB |
code.h | -rw-r--r-- | 3.8 KB |
codecs.h | -rw-r--r-- | 5.1 KB |
compile.h | -rw-r--r-- | 1.3 KB |
complexobject.h | -rw-r--r-- | 2.0 KB |
datetime.h | -rw-r--r-- | 8.1 KB |
descrobject.h | -rw-r--r-- | 2.8 KB |
dictobject.h | -rw-r--r-- | 6.6 KB |
dtoa.h | -rw-r--r-- | 368 bytes |
dynamic_annotations.h | -rw-r--r-- | 21.9 KB |
enumobject.h | -rw-r--r-- | 253 bytes |
errcode.h | -rw-r--r-- | 1.4 KB |
eval.h | -rw-r--r-- | 597 bytes |
fileobject.h | -rw-r--r-- | 1.7 KB |
fileutils.h | -rw-r--r-- | 1.0 KB |
floatobject.h | -rw-r--r-- | 4.4 KB |
frameobject.h | -rw-r--r-- | 3.1 KB |
funcobject.h | -rw-r--r-- | 3.5 KB |
genobject.h | -rw-r--r-- | 942 bytes |
graminit.h | -rw-r--r-- | 1.8 KB |
grammar.h | -rw-r--r-- | 2.0 KB |
import.h | -rw-r--r-- | 3.2 KB |
intrcheck.h | -rw-r--r-- | 274 bytes |
iterobject.h | -rw-r--r-- | 567 bytes |
listobject.h | -rw-r--r-- | 2.7 KB |
longintrepr.h | -rw-r--r-- | 3.9 KB |
longobject.h | -rw-r--r-- | 7.0 KB |
marshal.h | -rw-r--r-- | 743 bytes |
memoryobject.h | -rw-r--r-- | 2.8 KB |
metagrammar.h | -rw-r--r-- | 253 bytes |
methodobject.h | -rw-r--r-- | 2.9 KB |
modsupport.h | -rw-r--r-- | 4.6 KB |
moduleobject.h | -rw-r--r-- | 1.4 KB |
node.h | -rw-r--r-- | 956 bytes |
object.h | -rw-r--r-- | 34.7 KB |
objimpl.h | -rw-r--r-- | 13.1 KB |
opcode.h | -rw-r--r-- | 4.6 KB |
osdefs.h | -rw-r--r-- | 869 bytes |
parsetok.h | -rw-r--r-- | 2.1 KB |
patchlevel.h | -rw-r--r-- | 1.2 KB |
pgen.h | -rw-r--r-- | 253 bytes |
pgenheaders.h | -rw-r--r-- | 1.1 KB |
py_curses.h | -rw-r--r-- | 4.1 KB |
pyarena.h | -rw-r--r-- | 2.7 KB |
pyatomic.h | -rw-r--r-- | 5.8 KB |
pycapsule.h | -rw-r--r-- | 1.7 KB |
pyctype.h | -rw-r--r-- | 1.3 KB |
pydebug.h | -rw-r--r-- | 1.1 KB |
pyerrors.h | -rw-r--r-- | 12.6 KB |
pyexpat.h | -rw-r--r-- | 2.0 KB |
pyfpe.h | -rw-r--r-- | 8.3 KB |
pygetopt.h | -rw-r--r-- | 388 bytes |
pymacconfig.h | -rw-r--r-- | 2.9 KB |
pymath.h | -rw-r--r-- | 6.4 KB |
pymem.h | -rw-r--r-- | 4.6 KB |
pyport.h | -rw-r--r-- | 30.3 KB |
pystate.h | -rw-r--r-- | 7.3 KB |
pystrcmp.h | -rw-r--r-- | 436 bytes |
pystrtod.h | -rw-r--r-- | 1.2 KB |
pythonrun.h | -rw-r--r-- | 8.5 KB |
pythread.h | -rw-r--r-- | 2.9 KB |
pytime.h | -rw-r--r-- | 1.3 KB |
rangeobject.h | -rw-r--r-- | 629 bytes |
setobject.h | -rw-r--r-- | 3.1 KB |
sliceobject.h | -rw-r--r-- | 1.3 KB |
structmember.h | -rw-r--r-- | 2.3 KB |
structseq.h | -rw-r--r-- | 1.2 KB |
symtable.h | -rw-r--r-- | 4.2 KB |
sysmodule.h | -rw-r--r-- | 1.1 KB |
timefuncs.h | -rw-r--r-- | 472 bytes |
token.h | -rw-r--r-- | 1.8 KB |
traceback.h | -rw-r--r-- | 769 bytes |
tupleobject.h | -rw-r--r-- | 2.3 KB |
typeslots.h | -rw-r--r-- | 2.0 KB |
ucnhash.h | -rw-r--r-- | 975 bytes |
unicodeobject.h | -rw-r--r-- | 58.7 KB |
warnings.h | -rw-r--r-- | 953 bytes |
weakrefobject.h | -rw-r--r-- | 3.0 KB |
Computing file changes ...