[issue9032] xmlrpc: Transport.request() should also catch socket.error(EPIPE)

2010-07-23 Thread STINNER Victor
STINNER Victor added the comment: I fixed the bug in 2.7 (r83123) and 3.2 (r83120). -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___

[issue9032] xmlrpc: Transport.request() should also catch socket.error(EPIPE)

2010-06-18 Thread STINNER Victor
STINNER Victor added the comment: See also r70643 (from issue #5542): "Remove special logic that closes HTTPConnection socket on EPIPE. If the socket is closed, the client has no chance to read the response from the server. EPIPE means that it isn't possible to write more data from the socket

[issue9032] xmlrpc: Transport.request() should also catch socket.error(EPIPE)

2010-06-18 Thread STINNER Victor
New submission from STINNER Victor : Since Python 2.7 / 3.2, httplib supports HTTP(S)/1.1 (keep-alive). This version of HTTP is much faster because the connection is kept between two requests. I'm using it with XML-RPC + SSL (M2Crypto). It works nice. My problem is when the server closes the c