El 15/4/20 a las 21:07, Chris Angelico escribió:
On Thu, Apr 16, 2020 at 4:55 AM Ander Juaristi 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 -- python-ideas@python.org To unsubscribe send an email to python-ideas-leave@python.org https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/python-ideas@python.org/message/DQ3RIE... Code of Conduct: http://python.org/psf/codeofconduct/