Commit 94331348 authored by Sebastien Cante's avatar Sebastien Cante Committed by Wandenberg Peixoto

enable push stream client to use 443 as non ssl port to prevent caching that...

 enable push stream client to use 443 as non ssl port to prevent caching that occurs on some proxies on 80 port
parent 684ca330
......@@ -314,7 +314,7 @@
var useSSL = pushstream.useSSL;
var url = (websocket) ? ((useSSL) ? "wss://" : "ws://") : ((useSSL) ? "https://" : "http://");
url += pushstream.host;
url += ((pushstream.port != 80) && (pushstream.port != 443)) ? (":" + pushstream.port) : "";
url += ((!useSSL && pushstream.port == 80) || (useSSL && pushstream.port == 443)) ? "" : (":" + pushstream.port);
url += prefix;
var channels = getChannelsPath(pushstream.channels);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment