ssl: add msg_callback
thiebaud at weksteen.fr
Thu Jul 26 05:47:24 CEST 2012
I wrote a patch for Python 3.2.3 to expose the function
SSL_CTX_set_msg_callback in the module _ssl.
I was actually surprise this function was not already in the
standard library as it is really handy:
"SSL_CTX_set_msg_callback() or SSL_set_msg_callback() can be used
to define a message callback function cb for observing all SSL/TLS
protocol messages (such as handshake messages) that are received or
Here is the patch:
Let me know your opinion on that. Does it worth being included?
More information about the Python-list