diff options
author | Fabio Alessandrelli <fabio.alessandrelli@gmail.com> | 2023-01-28 09:39:31 +0100 |
---|---|---|
committer | Fabio Alessandrelli <fabio.alessandrelli@gmail.com> | 2023-01-28 11:08:02 +0100 |
commit | 7cd80e6a6dd48019fb292e49eab10eefff293132 (patch) | |
tree | dd320e5121299773d743c7f491c28b8fcf3656d8 /platform/web | |
parent | adba870534bdcdd11f0f344e66090be8e2cd9ae4 (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 'platform/web')
-rw-r--r-- | platform/web/export/editor_http_server.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/platform/web/export/editor_http_server.h b/platform/web/export/editor_http_server.h index 80ff779949..3f87288537 100644 --- a/platform/web/export/editor_http_server.h +++ b/platform/web/export/editor_http_server.h @@ -205,7 +205,6 @@ public: if (tls.is_null()) { tls = Ref<StreamPeerTLS>(StreamPeerTLS::create()); peer = tls; - tls->set_blocking_handshake_enabled(false); if (tls->accept_stream(tcp, TLSOptions::server(key, cert)) != OK) { _clear_client(); return; |