diff options
author | Jack Lloyd <[email protected]> | 2016-02-07 02:32:16 -0500 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2016-02-07 02:32:16 -0500 |
commit | ceb90fb9814d5118d406efcbcda2117b6b083ad4 (patch) | |
tree | 30feb856393f4f6ec61666f94390e27ca5bd93c3 /src/lib/tls/tls_channel.h | |
parent | 45d2ae1b48aeebd00567d820dfb8fe261bb50be9 (diff) | |
parent | 3fcb235c98a78a3cf98633a6a6067b82d2a8b871 (diff) |
GH #417 Remove TLS heartbeat support
Diffstat (limited to 'src/lib/tls/tls_channel.h')
-rw-r--r-- | src/lib/tls/tls_channel.h | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/src/lib/tls/tls_channel.h b/src/lib/tls/tls_channel.h index 9ef2d17c4..aca5c7138 100644 --- a/src/lib/tls/tls_channel.h +++ b/src/lib/tls/tls_channel.h @@ -161,28 +161,6 @@ class BOTAN_DLL Channel */ bool timeout_check(); - /** - * @return true iff the peer supports heartbeat messages - */ - bool peer_supports_heartbeats() const; - - /** - * @return true iff we are allowed to send heartbeat messages - */ - bool heartbeat_sending_allowed() const; - - /** - * Attempt to send a heartbeat message (if negotiated with counterparty) - * @param payload will be echoed back - * @param payload_size size of payload in bytes - * @param pad_bytes include 16 + pad_bytes extra bytes in the message (not echoed) - */ - void heartbeat(const byte payload[], size_t payload_size, size_t pad_bytes = 0); - - /** - * Attempt to send a heartbeat message (if negotiated with counterparty) - */ - void heartbeat() { heartbeat(nullptr, 0); } protected: virtual void process_handshake_msg(const Handshake_State* active_state, |