summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2019-09-25 06:23:22 +0200
committerNikos Mavrogiannopoulos <nmav@redhat.com>2019-09-26 07:13:57 +0200
commitaf4e4edcc6443b6573e319234ecec1f27fb0179e (patch)
treeba402503a3b92f239caafba888fef1b4f47bee3a /doc
parenta17ffe208b7e3db74723836a472ce132c5d45aa3 (diff)
downloadgnutls-af4e4edcc6443b6573e319234ecec1f27fb0179e.tar.gz
gnutls_session_get_data2: fix operation without a timeout callback
When TLS1.3 was introduced, gnutls_session_get_data2 was modified to assume that the callbacks set included the timeout one which was not previously necessary except for some special cases. This corrects that issue and makes sure that gnutls_session_get_data2() does not fail (but not necessarily succeed), if that timeout callback is not set. Resolves: #823 Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/cha-upgrade.texi4
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/cha-upgrade.texi b/doc/cha-upgrade.texi
index 286790de5b..91c6803ec6 100644
--- a/doc/cha-upgrade.texi
+++ b/doc/cha-upgrade.texi
@@ -241,7 +241,9 @@ TLS 1.3 is done via session tickets, c.f. @funcref{gnutls_session_ticket_enable_
@item @funcref{gnutls_session_get_data2}, @funcref{gnutls_session_get_data}
@tab These functions may introduce a slight delay under TLS 1.3 for few
milliseconds. Check output of @funcref{gnutls_session_get_flags} for GNUTLS_SFLAGS_SESSION_TICKET
-before calling this function to avoid delays.
+before calling this function to avoid delays. To work efficiently under
+TLS 1.3 this function requires the application setting
+@funcref{gnutls_transport_set_pull_timeout_function}.
@item SRP and RSA-PSK key exchanges are not supported under TLS 1.3
@tab SRP and RSA-PSK key exchanges are not supported in TLS 1.3, so when these key exchanges are present in a priority string, TLS 1.3 is disabled.