Re: [twsocket] SSL problem (server stops receiving data)

2015-11-25 Thread Merijn Bosma
It seems that this issue is triggered when we sent and receive data at the same time. What happens is that we have a client and a server doing answer request, either side can also send data based on a timer, sending that data can trigger this issue. Googling for "OpenSSL full duplex" or simila

[twsocket] speed of OpenSSL

2015-11-25 Thread Merijn Bosma
Hi all, We're currently working on a client server model which uses OpenSSL for normal socket connections (TSslWSocketClient connecting to TSslWSocketServer). Currenlty, the server is used to serve content at request of the client. When we do a speed test without OpenSSL (TWSocketClient connec

Re: [twsocket] SSL problem (server stops receiving data)

2015-11-25 Thread Angus Robertson - Magenta Systems Ltd
> In short, it seems that OpenSSL can get confused when application > data is sent while it is doing renegotiation itself, if I > understood correctly. > Could this be the problem we are experiencing, or does the ICS > implementation around OpenSSL take this into account? Why would you applicat

Re: [twsocket] speed of OpenSSL

2015-11-25 Thread Angus Robertson - Magenta Systems Ltd
> When we do a speed test without OpenSSL (TWSocketClient > connecting to TCustomMultiListenWSocketServer) we get speeds of > ~8MB/s. Since we're connected to a 100MPS LAN, this sounds is > great. When we do the same test using OpenSSL on the same network, > the speed drops to around 300kB/s.