El 15/4/20 a las 21:07, Chris Angelico escribió:
On Thu, Apr 16, 2020 at 4:55 AM Ander Juaristi <[email protected]> wrote:
TLS session resumption is currently supported, but only within the same
process. To the best of my knowledge, there is no way to save the TLS
session to a file to resume the TLS session later on. Please tell me how
this is done if I'm wrong.

Not a Python SSL expert, but have you tried pickling the session object?


Yes, I tried this as well. And no, it's currently not possible to pickle it.

If that doesn't work, then I would say that adding pickle support
(using the semantics you describe) would be the cleanest way to do
this.

Could be an option. Thanks for the suggestion.


ChrisA
_______________________________________________
Python-ideas mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/[email protected]/message/DQ3RIE4USTWRCSGE25VE3AFQNK7VHT3U/
Code of Conduct: http://python.org/psf/codeofconduct/

_______________________________________________
Python-ideas mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/[email protected]/message/WCIU4GKOEQKQOA55PUGABFRN3O3VBXPN/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to