]> granicus.if.org Git - python/commit
#9032: XML-RPC client: Transport.request() retries on EPIPE error
authorVictor Stinner <victor.stinner@haypocalc.com>
Sat, 24 Jul 2010 02:24:55 +0000 (02:24 +0000)
committerVictor Stinner <victor.stinner@haypocalc.com>
Sat, 24 Jul 2010 02:24:55 +0000 (02:24 +0000)
commit756f547b9a4b93c4eab1bb05dbf41c33e5924554
treed708b3e204c6ea2c1d66cd61736cea2ea451f972
parenteccc5facd34609c029efce6fd2cd302f73e50566
#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/http/client.py
Lib/xmlrpc/client.py
Misc/NEWS