[openssl-users] Extra EPOLLIN event at end of SSL connection

Kurt Roeckx kurt at roeckx.be
Mon Feb 8 22:14:33 UTC 2016


On Mon, Feb 08, 2016 at 07:43:00AM -0700, counterpoint wrote:
> Working on a multi-threaded system that is providing an SSL server
> capability, I am running into an odd problem at the end of a connection.
> There seems no functional downside, in that it appears all data is handled
> correctly. The trouble is errors are being logged.
> 
> What seems to happen is that the connection works fine up to the point where
> it comes to an end. The client uses the application protocol (MySQL) to send
> a message saying it wants to disconnect. However, it seems that there is an
> EPOLLIN event that occurs after this.

TLS also does a shutdown of the connection, in which no
application data is send anymore but at the TLS level packets
still get send.  Is that what you mean?


Kurt



More information about the openssl-users mailing list