summaryrefslogtreecommitdiff
path: root/core/io/stream_peer_tls.h
diff options
context:
space:
mode:
authorFabio Alessandrelli <fabio.alessandrelli@gmail.com>2023-01-28 09:39:31 +0100
committerFabio Alessandrelli <fabio.alessandrelli@gmail.com>2023-01-28 11:08:02 +0100
commit7cd80e6a6dd48019fb292e49eab10eefff293132 (patch)
treedd320e5121299773d743c7f491c28b8fcf3656d8 /core/io/stream_peer_tls.h
parentadba870534bdcdd11f0f344e66090be8e2cd9ae4 (diff)
[Net] Remove StreamPeerTLS.blocking_handshake option.
Which was unused internally, and can be replaced by: ``` while tls.get_status() == tls.STATUS_HANDSHAKING: tls.poll() ```
Diffstat (limited to 'core/io/stream_peer_tls.h')
-rw-r--r--core/io/stream_peer_tls.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/core/io/stream_peer_tls.h b/core/io/stream_peer_tls.h
index ff3ea2a7d1..5894abb7a4 100644
--- a/core/io/stream_peer_tls.h
+++ b/core/io/stream_peer_tls.h
@@ -41,10 +41,6 @@ protected:
static StreamPeerTLS *(*_create)();
static void _bind_methods();
- static bool available;
-
- bool blocking_handshake = true;
-
public:
enum Status {
STATUS_DISCONNECTED,
@@ -54,9 +50,6 @@ public:
STATUS_ERROR_HOSTNAME_MISMATCH
};
- void set_blocking_handshake_enabled(bool p_enabled);
- bool is_blocking_handshake_enabled() const;
-
virtual void poll() = 0;
virtual Error accept_stream(Ref<StreamPeer> p_base, Ref<TLSOptions> p_options) = 0;
virtual Error connect_to_stream(Ref<StreamPeer> p_base, const String &p_common_name, Ref<TLSOptions> p_options) = 0;