Skip to content

daemon/tls: fix handling of GNUTLS_E_AGAIN

Tomas Krizek requested to merge tls1.3-resumption into master

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 (closed)

Merge request reports