[issue8222] enabling SSL_MODE_AUTO_RETRY on SSL sockets

2011-06-16 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : -- nosy: +jcea ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue8222] enabling SSL_MODE_AUTO_RETRY on SSL sockets

2010-03-26 Thread Antoine Pitrou
Antoine Pitrou added the comment: Fixed in r79448 (trunk), r79449 (py3k), r79451 (2.6), r79453 (3.1). -- resolution: -> fixed stage: -> committed/rejected status: open -> closed ___ Python tracker ___

[issue8222] enabling SSL_MODE_AUTO_RETRY on SSL sockets

2010-03-26 Thread Antoine Pitrou
Antoine Pitrou added the comment: > Would it be possible to add an option to disable SSL_MODE_AUTO_RETRY > for a specific socket? Existing applications may rely on / prefer the > current behaviour. I don't think so, since recv() used to emulate that behaviour anyway. -- __

[issue8222] enabling SSL_MODE_AUTO_RETRY on SSL sockets

2010-03-26 Thread STINNER Victor
STINNER Victor added the comment: Would it be possible to add an option to disable SSL_MODE_AUTO_RETRY for a specific socket? Existing applications may rely on / prefer the current behaviour. -- ___ Python tracker

[issue8222] enabling SSL_MODE_AUTO_RETRY on SSL sockets

2010-03-26 Thread STINNER Victor
STINNER Victor added the comment: > letting the C OpenSSL runtime do it for us is certainly more efficient +1 if it's more efficient ;-) -- ___ Python tracker ___ __

[issue8222] enabling SSL_MODE_AUTO_RETRY on SSL sockets

2010-03-26 Thread STINNER Victor
STINNER Victor added the comment: See also issue #8240 about SSL_MODE_ACCEPT_MOVING_WRITE_BUFFER (ssl.SSLSocket.write may fail on non-blocking sockets). -- nosy: +haypo ___ Python tracker _

[issue8222] enabling SSL_MODE_AUTO_RETRY on SSL sockets

2010-03-25 Thread Bill Janssen
Bill Janssen added the comment: Looks like a good idea. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http

[issue8222] enabling SSL_MODE_AUTO_RETRY on SSL sockets

2010-03-24 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: Mmm you're right. Sorry. I'm clearly too tired. =) -- ___ Python tracker ___ ___ Python-bugs-list

[issue8222] enabling SSL_MODE_AUTO_RETRY on SSL sockets

2010-03-24 Thread Antoine Pitrou
Antoine Pitrou added the comment: To me it looks clearly like a no-op ("Never bother the application with retries *if the transport is blocking*"). -- ___ Python tracker ___ ___

[issue8222] enabling SSL_MODE_AUTO_RETRY on SSL sockets

2010-03-24 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: By reading the doc it is not clear if we should activate this option only when dealing with blocking sockets. What's the behavior with non blocking ones? Does it result in a no-op or does it hang the applcation? -- _

[issue8222] enabling SSL_MODE_AUTO_RETRY on SSL sockets

2010-03-24 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- title: enabling SSL_ERROR_WANT_READ on SSL sockets -> enabling SSL_MODE_AUTO_RETRY on SSL sockets ___ Python tracker ___ __