This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author PoltoS
Recipients PoltoS, TTT, amaury.forgeotdarc, dandrzejewski, eric.smith, giampaolo.rodola, orsenthil, pitrou, r.david.murray
Date 2010-10-16.21:24:49
SpamBayes Score 3.704e-09
Marked as misclassified No
Message-id <>
After some investigations it seems that a dup() is called in ssl wrap_socket(), so on sock.close() the socket is not really closed, since there is still one more reference (file descriptor) in the kernel's tcp/ip stack. Can someone confirm this?

Have not done this, but it is possible to check my supposition using linux lsof command before and after .close().
Date User Action Args
2010-10-16 21:24:51PoltoSsetrecipients: + PoltoS, amaury.forgeotdarc, orsenthil, pitrou, eric.smith, giampaolo.rodola, r.david.murray, dandrzejewski, TTT
2010-10-16 21:24:51PoltoSsetmessageid: <>
2010-10-16 21:24:50PoltoSlinkissue10127 messages
2010-10-16 21:24:49PoltoScreate