mirror of
https://github.com/python/cpython.git
synced 2025-09-11 19:27:07 +00:00
Bug #978833: Close https sockets by releasing the _ssl object.
This commit is contained in:
parent
ec2ce9bbae
commit
f25e35b9ec
4 changed files with 28 additions and 0 deletions
|
@ -144,6 +144,10 @@ class _closedsocket(object):
|
|||
send = recv = recv_into = sendto = recvfrom = recvfrom_into = _dummy
|
||||
__getattr__ = _dummy
|
||||
|
||||
# Wrapper around platform socket objects. This implements
|
||||
# a platform-independent dup() functionality. The
|
||||
# implementation currently relies on reference counting
|
||||
# to close the underlying socket object.
|
||||
class _socketobject(object):
|
||||
|
||||
__doc__ = _realsocket.__doc__
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue