Hello
I have a 2 threads application. One GUI thread and one worker thread (CWinThread) in which I make time consuming operations - calculations and HTTP comunication.
I have to switch from HTTP to SSL socket connection. I also need to make a verification of server certificate (is it trusted, is it expired, is it revoked)
Which library to use for SSL Socket (MFC, Boost or something else)?
Do I have to use synchronous or asynchronous operations? I think that If I use asynchronous operations I may implement Cancel functionality which may be called from GUI thread.
And If I use asynchronous operations is it better to move socket operations in first thread?
Does SSL protocol support compression of stream data?