[New-bugs-announce] [issue8524] SSL sockets do not retain the parent socket's attributes

Antoine Pitrou report at bugs.python.org
Sat Apr 24 22:47:47 CEST 2010


New submission from Antoine Pitrou <pitrou at 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 <report at bugs.python.org>
<http://bugs.python.org/issue8524>
_______________________________________


More information about the New-bugs-announce mailing list