daemon/tls: fix handling of GNUTLS_E_AGAIN
- Jul 22, 2019
-
-
The code incorrectly assumes GNUTLS_E_AGAIN can only be caused by reading the entire libuv buffer. Legitime causes of GNUTLS_E_AGAIN wouldn't be processed correctly. These could be caused by a new session ticket sent by the server. Fixes #489
-