Client SSL Intermittently Works
I am trying to setup a simple server that handles only secure post requests (RESTful). I have created a WServer and added only a WResource to it. The problem with this is that a client can send only one request every 15 or so seconds. If a client tries to send another request after their initial request (within 15 or so seconds), SSLInfo is null which I take to mean that the SSL connection could not be setup. I am guessing the reason for this is because the connection is still setup from the initial request.
All that I am trying to achieve is the following:
- A client makes a post request.
- The server setups the SSL connection
- The server sends a response back to the client.
- The server closes the connection.
Do I have to create an application, as is done in the client-ssl example, in order to kill the connection from the first request?