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 martin.panter
Recipients Phus Lu, christian.heimes, martin.panter
Date 2017-02-21.04:30:22
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1487651422.86.0.405068537651.issue29610@psf.upfronthosting.co.za>
In-reply-to
Content
It looks like you are trying to tunnel one SSL or TLS connection through another SSL/TLS connection (instead of through a plain OS socket). There is already a bug recently opened about this: Issue 29394.

Basically, the SSL module doesn’t support this, and the documentation should be clarified to say something like wrap_socket() only accepts basic socket.socket() objects, not subclasses. However, in Python 3.5+ I think you could use the BIO layer to hook in your intermediate SSL socket (or any other transport).
History
Date User Action Args
2017-02-21 04:30:22martin.pantersetrecipients: + martin.panter, christian.heimes, Phus Lu
2017-02-21 04:30:22martin.pantersetmessageid: <1487651422.86.0.405068537651.issue29610@psf.upfronthosting.co.za>
2017-02-21 04:30:22martin.panterlinkissue29610 messages
2017-02-21 04:30:22martin.pantercreate