Message288265
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). |
|
Date |
User |
Action |
Args |
2017-02-21 04:30:22 | martin.panter | set | recipients:
+ martin.panter, christian.heimes, Phus Lu |
2017-02-21 04:30:22 | martin.panter | set | messageid: <1487651422.86.0.405068537651.issue29610@psf.upfronthosting.co.za> |
2017-02-21 04:30:22 | martin.panter | link | issue29610 messages |
2017-02-21 04:30:22 | martin.panter | create | |
|