[issue29470] [python] Error in `/usr/bin/python': free(): invalid size: 0x00007f628400d0e0

David Ford (FirefighterBlu3) report at bugs.python.org
Wed Feb 15 07:10:36 EST 2017


David Ford (FirefighterBlu3) added the comment:

yes, i create a context and then when a request comes in, i load the appropriate key. this is how most [all?] SNI capable python server examples show how to do it, or did, at the time I wrote this module a few years ago. from that time, ~py 3.2 until now, it worked perfectly.

thank you for this information, i'll rewrite my callback accordingly. perhaps 18.2.5.3 in https://docs.python.org/3/library/ssl.html can be updated to inform developers how to change their socket.context in an SNI callback

----------
resolution:  -> not a bug

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue29470>
_______________________________________


More information about the Python-bugs-list mailing list