Staging
v0.5.1
https://github.com/python/cpython
Revision 756f547b9a4b93c4eab1bb05dbf41c33e5924554 authored by Victor Stinner on 24 July 2010, 02:24:55 UTC, committed by Victor Stinner on 24 July 2010, 02:24:55 UTC
The EPIPE error occurs when the server closes the socket and the client sends a
"big" XML-RPC request (I don't know exactly the size threshold).

request() just have to ignore the error because single_request() closes the
socket on error, and so the next call to single_request() will open a new
socket.

Remove also a comment in the HTTP client because it's now wrong: see r70643
and issue #5542.
1 parent eccc5fa
History
Tip revision: 756f547b9a4b93c4eab1bb05dbf41c33e5924554 authored by Victor Stinner on 24 July 2010, 02:24:55 UTC
#9032: XML-RPC client: Transport.request() retries on EPIPE error
Tip revision: 756f547
File Mode Size
Demo
Doc
Grammar
Include
Lib
Mac
Misc
Modules
Objects
PC
PCbuild
Parser
Python
Tools
.bzrignore -rw-r--r-- 505 bytes
.hgignore -rw-r--r-- 717 bytes
.hgtags -rw-r--r-- 3.6 KB
LICENSE -rw-r--r-- 14.1 KB
Makefile.pre.in -rw-r--r-- 39.9 KB
README -rw-r--r-- 6.9 KB
configure -rwxr-xr-x 389.4 KB
configure.in -rw-r--r-- 119.1 KB
install-sh -rwxr-xr-x 7.0 KB
pyconfig.h.in -rw-r--r-- 33.2 KB
runtests.sh -rwxr-xr-x 2.1 KB
setup.py -rw-r--r-- 76.4 KB

README

back to top