python-symmetric-jsonrpc
python-symmetric-jsonrpc copied to clipboard
Problem with symmetric-jsonrpc and M2Crypto
Hi,
I'm trying to use symmetric-jsonrpc with a M2Crypto.SSL.Connection as 'socket'. Well, it doesn't work.
In Wireshark I can see, that the SSL Handshake completes and also TLS ApplicationData is sent from the client to the server, but then it stops and nothing happens anymore. The line with client.request() somehow hangs.
Here's the code:
Server: http://pastebin.com/PiBBtdDG
Client: http://pastebin.com/wuzPLDTa
I copied your code from the example directory and just replaced the socket with M2Crypto.SSL.Connection.
Thanks in advance