[openssl-users] OpenSSL non-blocking epoll hanging on data receiving

Matt Caswell matt at openssl.org
Fri May 27 16:29:18 UTC 2016

On 27/05/16 16:20, counterpoint wrote:
> Thanks Matt, good points. Not easy to implement though!
> In the problem case, my code is the server (it is a proxy), and the standard
> MariaDB command line client is the client. Yes, it does look as if
> everything is happening as it should, except that the process stops before
> all the data has been handled.
> The client is sending a large query (about 500 KB, using "load data local
> infile '/root/bigdata.txt' into table upload;").
> If the client is connected directly to the database, using SSL, the query
> runs successfully.
> If the client is connected through the proxy without SSL (most of the logic
> exactly the same), the query runs successfully.
> If a shorter query is chosen, it works with SSL.
> Looking at the data flows with Wireshark, it looks about right, but I can't
> see the data in detail because of the SSL :)

Perhaps using an eNULL ciphersuite might help?


More information about the openssl-users mailing list