diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2012-09-01 12:39:13 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2012-09-01 12:43:03 +0200 |
commit | 7121c0e832886fa72c70e02e99d0dc75b23937e3 (patch) | |
tree | 04c5d2944572ee2ef717e02ac20feb8729c9f26a /doc/cha-intro-tls.texi | |
parent | 23d01d5c3853ccc0e609594e907f9e02cae05856 (diff) | |
download | gnutls-7121c0e832886fa72c70e02e99d0dc75b23937e3.tar.gz |
Added heartbeat functions
Diffstat (limited to 'doc/cha-intro-tls.texi')
-rw-r--r-- | doc/cha-intro-tls.texi | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/doc/cha-intro-tls.texi b/doc/cha-intro-tls.texi index 1f56ec55e6..88ca94cb60 100644 --- a/doc/cha-intro-tls.texi +++ b/doc/cha-intro-tls.texi @@ -446,21 +446,19 @@ idea, which is implemented in GnuTLS. The TLS extension which allows to request response from the peer in a way similar to ping command described in @xcite{RFC6520}. This extension is disabled by default - user have to call -@funcref{gnutls_heartbeat_allow} to enable it. Note: this will set +@funcref{gnutls_heartbeat_enable} to enable it. Note: this will set local policy affecting HeartBeat messages coming from the peer - the policy -could be checked via @funcref{gnutls_heartbeat_enabled_local}. The -same policy set by the peer for our messages could be checked via -@funcref{gnutls_heartbeat_enabled_remote}. The requests coming from -peer are answered automatically (if policy permits) inside -@funcref{record_add_to_buffers}, requests to peer could be send via +could be checked via @funcref{gnutls_heartbeat_allowed}. +The requests coming from peer are answered automatically (if policy permits) +inside @funcref{gnutls_record_recv}, requests to peer could be send via @funcref{gnutls_heartbeat_ping} or @funcref{gnutls_heartbeat_ping_rnd}. Each request triggers timeout which could be checked and manipulated with @funcref{gnutls_heartbeat_timeout}. Policy-related functions: -@showfuncB{gnutls_heartbeat_allow,gnutls_heartbeat_deny}, @showfuncB{gnutls_heartbeat_enabled_local,gnutls_heartbeat_enabled_remote} +@showfuncB{gnutls_heartbeat_allowed,gnutls_heartbeat_enable} Operational functions: -@showfuncB{gnutls_heartbeat_timeout},@showfuncB{gnutls_heartbeat_ping,gnutls_heartbeat_ping_rnd} +@showfuncC{gnutls_heartbeat_timeout,gnutls_heartbeat_ping,gnutls_heartbeat_ping_rnd} @node Safe renegotiation @subsection Safe renegotiation |