m2crypto https, xmlrpc, keep_alive
gelonida at gmail.com
Tue Aug 2 23:39:39 CEST 2011
Just started playing with m2cryptos xmlrpc
The code I'm is:
from M2Crypto.m2xmlrpclib import Server, SSL_Transport
from M2Crypto.SSL.Context import Context
ctx = Context()
# modify context
svr = Server(rpc_url, SSL_Transport(ctx), encoding='utf-8')
What I wondered is following.
Will each RPC call go through all the ssl negotiation with certificate
If yes, is there something like the concept of a keep_alive connection,
that would avoid this overhead?
What would I have to change in my above code.
Thanks in advance for some ideas
More information about the Python-list