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
Looks as if I can reply to my own message! Maybe this exchange might help
someone else.
It seems that EPOLLIN events with no data are inevitable and have to be
accepted. So in a way, it is a quirk of OpenSSL that typical example code
results in the no data case being interpreted as an error.
Are you getting WANT_READ or WANT_WRITE? That is common for non-blocking. And
also, yeah, way back when, it was common to return zero when read on a
non-blocking socket had no data :) And what release are you using?
--
openssl-users mailing list
To unsubscribe:
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.