aboutsummaryrefslogtreecommitdiffstats
path: root/doc/tls.rst
diff options
context:
space:
mode:
authorlloyd <[email protected]>2012-10-13 20:37:29 +0000
committerlloyd <[email protected]>2012-10-13 20:37:29 +0000
commit4be75ae1e9e473fc3e939be5e54e51f552d5934b (patch)
tree39b39921601d32ab8a901a6343fb0b8285cd253f /doc/tls.rst
parent9f1f35d7afc019ae03d478dc30f9552f6ba31a22 (diff)
Add TLS::Policy::negotiate_heartbeat_support which controls if the
client will offer heartbeats (or if a server will negotiate them if the client offers). Defaults to false, which is probably the right behavior in terms of minimizing surprise and attack surface.
Diffstat (limited to 'doc/tls.rst')
-rw-r--r--doc/tls.rst8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/tls.rst b/doc/tls.rst
index a0f2c4f48..3aec3254c 100644
--- a/doc/tls.rst
+++ b/doc/tls.rst
@@ -512,6 +512,14 @@ be negotiated during a handshake.
TLS compression is not currently supported.
+ .. cpp:function:: bool negotiate_heartbeat_support() const
+
+ If this function returns true, clients will offer the heartbeat
+ support extension, and servers will respond to clients offering
+ the extension. Otherwise, clients will not offer heartbeat
+ support and servers will ignore clients offering heartbeat
+ support.
+
.. cpp:function:: bool allow_server_initiated_renegotiation() const
If this function returns true, a client will accept a