[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 j...@jcea.es:


--
nosy: +jcea

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8222
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8222] enabling SSL_MODE_AUTO_RETRY on SSL sockets

2010-03-26 Thread STINNER Victor

STINNER Victor victor.stin...@haypocalc.com 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 rep...@bugs.python.org
http://bugs.python.org/issue8222
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8222] enabling SSL_MODE_AUTO_RETRY on SSL sockets

2010-03-26 Thread STINNER Victor

STINNER Victor victor.stin...@haypocalc.com added the comment:

 letting the C OpenSSL runtime do it for us is certainly more efficient

+1 if it's more efficient ;-)

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8222
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8222] enabling SSL_MODE_AUTO_RETRY on SSL sockets

2010-03-26 Thread STINNER Victor

STINNER Victor victor.stin...@haypocalc.com 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 rep...@bugs.python.org
http://bugs.python.org/issue8222
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8222] enabling SSL_MODE_AUTO_RETRY on SSL sockets

2010-03-26 Thread Antoine Pitrou

Antoine Pitrou pit...@free.fr 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.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8222
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8222] enabling SSL_MODE_AUTO_RETRY on SSL sockets

2010-03-26 Thread Antoine Pitrou

Antoine Pitrou pit...@free.fr 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 rep...@bugs.python.org
http://bugs.python.org/issue8222
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8222] enabling SSL_MODE_AUTO_RETRY on SSL sockets

2010-03-25 Thread Bill Janssen

Bill Janssen bill.jans...@gmail.com added the comment:

Looks like a good idea.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8222
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8222] enabling SSL_MODE_AUTO_RETRY on SSL sockets

2010-03-24 Thread Antoine Pitrou

Changes by Antoine Pitrou pit...@free.fr:


--
title: enabling SSL_ERROR_WANT_READ on SSL sockets - enabling 
SSL_MODE_AUTO_RETRY on SSL sockets

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8222
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8222] enabling SSL_MODE_AUTO_RETRY on SSL sockets

2010-03-24 Thread Giampaolo Rodola'

Giampaolo Rodola' billiej...@users.sourceforge.net 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?

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8222
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8222] enabling SSL_MODE_AUTO_RETRY on SSL sockets

2010-03-24 Thread Antoine Pitrou

Antoine Pitrou pit...@free.fr 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 rep...@bugs.python.org
http://bugs.python.org/issue8222
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8222] enabling SSL_MODE_AUTO_RETRY on SSL sockets

2010-03-24 Thread Giampaolo Rodola'

Giampaolo Rodola' billiej...@users.sourceforge.net added the comment:

Mmm you're right. Sorry.
I'm clearly too tired. =)

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8222
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com