New submission from Antoine Pitrou <pit...@free.fr>:

In 3.x, SSL sockets are created by dup()ing the original socket and then 
closing it. No attempt is made to conserve the socket's characteristics, such 
as the timeout and probably other flags.

I understand that it may be too late to change the design decision of using 
dup() and closing the original, but perhaps we should make a best effort to 
retain the original socket's characteristics. Or perhaps this limitation should 
be clearly documented (since especially 2.x works differently).

----------
components: Library (Lib)
messages: 104129
nosy: giampaolo.rodola, janssen, pitrou
priority: normal
severity: normal
status: open
title: SSL sockets do not retain the parent socket's attributes
versions: Python 3.1, Python 3.2

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue8524>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to