[issue8524] SSL sockets do not retain the parent socket's attributes
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)
nosy: giampaolo.rodola, janssen, pitrou
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>
More information about the Python-bugs-list