I have implemented server for file transfering between two clients in asio lib and it works when I'm using asio::ip::tcp::socket but when I switched to asio::ssl::streamasio::ip::tcp::socket and using SSL I noticed that server returns "decryption failed or bad record mac (SSL routines)" error when reading socket when: clientA sends file to clientB and clientB sends file to clientA at the same time. (asynchronous read and writes on one socket)
Is there some option I should set to use SSL in asio in full-duplex mode or is it not possible ?