We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent acc52e0 commit 710b480Copy full SHA for 710b480
src/AudioTools/CoreAudio/AudioHttp/Url.h
@@ -38,7 +38,8 @@ class Url {
38
return urlRootStr.c_str();
39
} // prefix w/o path -> https://host:port
40
int port() { return portInt; }
41
- bool isSecure() { return portInt == 443; }
+ // support https on custom ports
42
+ bool isSecure() { return portInt == 443 || protocolStr.startsWith("https"); }
43
44
void setUrl(const char* url) {
45
LOGD("setUrl %s", url);
0 commit comments