diff options
author | Rémi Verschelde <remi@verschelde.fr> | 2022-04-27 13:56:58 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-27 13:56:58 +0200 |
commit | 6e6fe2b025cf2d2e6ecbc2d536a6ed614f6486c6 (patch) | |
tree | 5347db9b0a50bb4a39d453ca46eefc9eea12f180 /core/io/http_client_tcp.cpp | |
parent | 17374944796a9338a2225473c9af693b4b578e18 (diff) | |
parent | 331f1662df41b4e7afff30d2fe4019a413499c1c (diff) | |
download | redot-engine-6e6fe2b025cf2d2e6ecbc2d536a6ed614f6486c6.tar.gz |
Merge pull request #59582 from Faless/net/4.x_tcp_explicit_poll
Diffstat (limited to 'core/io/http_client_tcp.cpp')
-rw-r--r-- | core/io/http_client_tcp.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/core/io/http_client_tcp.cpp b/core/io/http_client_tcp.cpp index f920799677..d983d86b99 100644 --- a/core/io/http_client_tcp.cpp +++ b/core/io/http_client_tcp.cpp @@ -264,6 +264,9 @@ void HTTPClientTCP::close() { } Error HTTPClientTCP::poll() { + if (tcp_connection.is_valid()) { + tcp_connection->poll(); + } switch (status) { case STATUS_RESOLVING: { ERR_FAIL_COND_V(resolving == IP::RESOLVER_INVALID_ID, ERR_BUG); |