I had some difficulty to find how to get the ssl certificate from the xmlrpc
function but I found how to do it :
You can get the protocol from the xmlrpc function with @withRequest
http://twistedmatrix.com/documents/11.1.0/api/twisted.web.xmlrpc.withRequest.html
Then you can use getPeerCertificate
I'd like to create a xmlrpc function get_message with the following
characteristic :
- If the server doesn't have any message to send the client, the server will
answer with a timeout after 60s (and the client can retry)
- If the server has a message to send to the client, the answer is sent
I did some testing between a twisted xmlrpc ssl server and a twisted client
with lots of simultaneous requests.
I'm using windows (don't have the choice...), python 2.7, twisted 11.1 and both
server and client are on the same computer... (Xeon 2Ghz 3GB of RAM)
The client is configured to get a n
Hi,
I'm using the pull method to send events to clients (with xmlrpc over ssl).
The events are in a queue and when a client calls my 'get_event' xmlrpc
function; I get one event from the queue and send it to the client.
The problem is that I want to be sure that the client receives all the event