Commit 878896c5 authored by Victor Stinner's avatar Victor Stinner

Blocked revisions 83120 via svnmerge

........
  r83120 | victor.stinner | 2010-07-24 04:24:55 +0200 (sam., 24 juil. 2010) | 12 lines

  #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.
........

In Python 3.1, Transport.request() doesn't retry on socket error.
parent a6bdd9a2
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment