You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Non-blocking functions currently can return special return values, ERR_SSL_WANT_READ (-1) and ERR_SSL_WANT_WRITE (-2). However, it turns out that also a third value, ERR_SSL_WOULD_BLOCK is needed.
Currently in case of EWOULDBLOCK, functions would return ERR_SSL_WANT_WRITE, which is wrong.
Unfortunately, this breaks the API in a minor version, but given that non-blocking TLS functions weren't working properly before 1.4.0 anyway, this is acceptable.
The text was updated successfully, but these errors were encountered:
Non-blocking functions currently can return special return values,
ERR_SSL_WANT_READ
(-1) andERR_SSL_WANT_WRITE
(-2). However, it turns out that also a third value,ERR_SSL_WOULD_BLOCK
is needed.New definitions should be:
Currently in case of
EWOULDBLOCK
, functions would returnERR_SSL_WANT_WRITE
, which is wrong.Unfortunately, this breaks the API in a minor version, but given that non-blocking TLS functions weren't working properly before 1.4.0 anyway, this is acceptable.
The text was updated successfully, but these errors were encountered: