aboutsummaryrefslogtreecommitdiffstats
path: root/src/cli/tls_client.cpp
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2016-02-07 01:17:47 -0500
committerJack Lloyd <[email protected]>2016-02-07 02:30:54 -0500
commit3fcb235c98a78a3cf98633a6a6067b82d2a8b871 (patch)
tree30feb856393f4f6ec61666f94390e27ca5bd93c3 /src/cli/tls_client.cpp
parent45d2ae1b48aeebd00567d820dfb8fe261bb50be9 (diff)
Remove TLS heartbeat support.
The signature of the alert callback remains unchanged to avoid breaking applications, though now the buffer parameter is never set.
Diffstat (limited to 'src/cli/tls_client.cpp')
-rw-r--r--src/cli/tls_client.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/cli/tls_client.cpp b/src/cli/tls_client.cpp
index a16f1ef88..62c909d5d 100644
--- a/src/cli/tls_client.cpp
+++ b/src/cli/tls_client.cpp
@@ -175,8 +175,6 @@ class TLS_Client final : public Command
client.close();
}
}
- else if(buf[0] == 'H')
- client.heartbeat(&buf[1], got-1);
else
client.send(buf, got);
}