summaryrefslogtreecommitdiffstats
path: root/platform/web/http_client_web.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2022-09-08 09:20:19 +0200
committerRémi Verschelde <rverschelde@gmail.com>2022-09-08 09:20:19 +0200
commita51dc70dfb7ca57f7ce7f0d764c12044405158b2 (patch)
tree9d272067bb78a68fb81cf8c91a62177d6e9eb68a /platform/web/http_client_web.cpp
parentcdb121dffaa0486da8894b7e8d0a2f595f382be4 (diff)
parenta95d7924204c26b5ff64a82c24579a8cdf58dac2 (diff)
downloadredot-engine-a51dc70dfb7ca57f7ce7f0d764c12044405158b2.tar.gz
Merge pull request #65460 from Faless/net/4.x_ssl_to_tls_more
[Net] Rename "ssl" references to "tls" in methods and members.
Diffstat (limited to 'platform/web/http_client_web.cpp')
-rw-r--r--platform/web/http_client_web.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/platform/web/http_client_web.cpp b/platform/web/http_client_web.cpp
index bfdea95f4a..d045275826 100644
--- a/platform/web/http_client_web.cpp
+++ b/platform/web/http_client_web.cpp
@@ -37,14 +37,14 @@ void HTTPClientWeb::_parse_headers(int p_len, const char **p_headers, void *p_re
}
}
-Error HTTPClientWeb::connect_to_host(const String &p_host, int p_port, bool p_ssl, bool p_verify_host) {
+Error HTTPClientWeb::connect_to_host(const String &p_host, int p_port, bool p_tls, bool p_verify_host) {
close();
- if (p_ssl && !p_verify_host) {
+ if (p_tls && !p_verify_host) {
WARN_PRINT("Disabling HTTPClientWeb's host verification is not supported for the Web platform, host will be verified");
}
port = p_port;
- use_tls = p_ssl;
+ use_tls = p_tls;
host = p_host;