feat: updated engine version to 4.4-rc1
This commit is contained in:
parent
ee00efde1f
commit
21ba8e33af
5459 changed files with 1128836 additions and 198305 deletions
|
|
@ -68,8 +68,9 @@ Error EMWSPeer::connect_to_url(const String &p_url, Ref<TLSOptions> p_tls_option
|
|||
String host;
|
||||
String path;
|
||||
String scheme;
|
||||
String fragment;
|
||||
int port = 0;
|
||||
Error err = p_url.parse_url(scheme, host, port, path);
|
||||
Error err = p_url.parse_url(scheme, host, port, path, fragment);
|
||||
ERR_FAIL_COND_V_MSG(err != OK, err, "Invalid URL: " + p_url);
|
||||
|
||||
if (scheme.is_empty()) {
|
||||
|
|
@ -92,7 +93,7 @@ Error EMWSPeer::connect_to_url(const String &p_url, Ref<TLSOptions> p_tls_option
|
|||
requested_url = scheme + host;
|
||||
|
||||
if (port && ((scheme == "ws://" && port != 80) || (scheme == "wss://" && port != 443))) {
|
||||
requested_url += ":" + String::num(port);
|
||||
requested_url += ":" + String::num_int64(port);
|
||||
}
|
||||
|
||||
if (!path.is_empty()) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue