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 /core/io/http_client_tcp.cpp | |
parent | adba870534bdcdd11f0f344e66090be8e2cd9ae4 (diff) | |
download | redot-engine-7cd80e6a6dd48019fb292e49eab10eefff293132.tar.gz |
[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/http_client_tcp.cpp')
-rw-r--r-- | core/io/http_client_tcp.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/core/io/http_client_tcp.cpp b/core/io/http_client_tcp.cpp index a36c59d11f..3788fa501e 100644 --- a/core/io/http_client_tcp.cpp +++ b/core/io/http_client_tcp.cpp @@ -364,7 +364,6 @@ Error HTTPClientTCP::poll() { if (!handshaking) { // Connect the StreamPeerTLS and start handshaking. tls_conn = Ref<StreamPeerTLS>(StreamPeerTLS::create()); - tls_conn->set_blocking_handshake_enabled(false); Error err = tls_conn->connect_to_stream(tcp_connection, conn_host, tls_options); if (err != OK) { close(); |