]> granicus.if.org Git - python/commit
Backport of 83120 (#9032)
authorVictor Stinner <victor.stinner@haypocalc.com>
Sat, 24 Jul 2010 02:51:49 +0000 (02:51 +0000)
committerVictor Stinner <victor.stinner@haypocalc.com>
Sat, 24 Jul 2010 02:51:49 +0000 (02:51 +0000)
commit8b0d84e3d56f185e70b2f862d8f5bc33d1da92b3
treea5be7363a7f9c64c2a658503e17fbd5ac367810f
parent2c6aee9096c7502ad2ec1c522f4b0e9be0a6569d
Backport of 83120 (#9032)

XML-RPC client: Transport.request() retries on EPIPE error

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.
Lib/xmlrpclib.py
Misc/NEWS