diff --git a/src/main/java/com/github/markusbernhardt/proxy/search/browser/firefox/FirefoxProxySearchStrategy.java b/src/main/java/com/github/markusbernhardt/proxy/search/browser/firefox/FirefoxProxySearchStrategy.java index c4b6d88a..8d271cca 100644 --- a/src/main/java/com/github/markusbernhardt/proxy/search/browser/firefox/FirefoxProxySearchStrategy.java +++ b/src/main/java/com/github/markusbernhardt/proxy/search/browser/firefox/FirefoxProxySearchStrategy.java @@ -268,6 +268,7 @@ private void installSecureProxy(ProtocolDispatchSelector ps, Properties settings Logger.log(getClass(), LogLevel.TRACE, "Firefox secure proxy is {}:{}", proxyHost, proxyPort); ps.setSelector("https", new FixedProxySelector(proxyHost, proxyPort)); ps.setSelector("sftp", new FixedProxySelector(proxyHost, proxyPort)); + ps.setSelector("wss", new FixedProxySelector(proxyHost, proxyPort)); } } diff --git a/src/main/java/com/github/markusbernhardt/proxy/search/desktop/gnome/GnomeDConfProxySearchStrategy.java b/src/main/java/com/github/markusbernhardt/proxy/search/desktop/gnome/GnomeDConfProxySearchStrategy.java index 1fe35ea6..f72a4828 100644 --- a/src/main/java/com/github/markusbernhardt/proxy/search/desktop/gnome/GnomeDConfProxySearchStrategy.java +++ b/src/main/java/com/github/markusbernhardt/proxy/search/desktop/gnome/GnomeDConfProxySearchStrategy.java @@ -272,6 +272,7 @@ private void installSecureSelector(Properties settings, ProtocolDispatchSelector Logger.log(getClass(), LogLevel.TRACE, "Gnome secure proxy is {}:{}", proxyHost, proxyPort); ps.setSelector("https", new FixedProxySelector(proxyHost.trim(), proxyPort)); ps.setSelector("sftp", new FixedProxySelector(proxyHost.trim(), proxyPort)); + ps.setSelector("wss", new FixedProxySelector(proxyHost.trim(), proxyPort)); } } diff --git a/src/main/java/com/github/markusbernhardt/proxy/search/desktop/gnome/GnomeProxySearchStrategy.java b/src/main/java/com/github/markusbernhardt/proxy/search/desktop/gnome/GnomeProxySearchStrategy.java index e629eeb6..d560b440 100644 --- a/src/main/java/com/github/markusbernhardt/proxy/search/desktop/gnome/GnomeProxySearchStrategy.java +++ b/src/main/java/com/github/markusbernhardt/proxy/search/desktop/gnome/GnomeProxySearchStrategy.java @@ -312,6 +312,7 @@ private void installSecureSelector(Properties settings, ProtocolDispatchSelector Logger.log(getClass(), LogLevel.TRACE, "Gnome secure proxy is {}:{}", proxyHost, proxyPort); ps.setSelector("https", new FixedProxySelector(proxyHost.trim(), proxyPort)); ps.setSelector("sftp", new FixedProxySelector(proxyHost.trim(), proxyPort)); + ps.setSelector("wss", new FixedProxySelector(proxyHost.trim(), proxyPort)); } } diff --git a/src/main/java/com/github/markusbernhardt/proxy/search/desktop/kde/KdeProxySearchStrategy.java b/src/main/java/com/github/markusbernhardt/proxy/search/desktop/kde/KdeProxySearchStrategy.java index 07735d46..8cf21c25 100644 --- a/src/main/java/com/github/markusbernhardt/proxy/search/desktop/kde/KdeProxySearchStrategy.java +++ b/src/main/java/com/github/markusbernhardt/proxy/search/desktop/kde/KdeProxySearchStrategy.java @@ -189,6 +189,7 @@ private ProxySelector setupFixedProxySelector(Properties settings) { if (httpsPS != null) { Logger.log(getClass(), LogLevel.TRACE, "Kde https proxy is {}", proxyVar); ps.setSelector("https", httpsPS); + ps.setSelector("wss", httpsPS); } proxyVar = settings.getProperty("ftpProxy", null); diff --git a/src/main/java/com/github/markusbernhardt/proxy/search/env/EnvProxySearchStrategy.java b/src/main/java/com/github/markusbernhardt/proxy/search/env/EnvProxySearchStrategy.java index 4aacb2f3..c84e6688 100644 --- a/src/main/java/com/github/markusbernhardt/proxy/search/env/EnvProxySearchStrategy.java +++ b/src/main/java/com/github/markusbernhardt/proxy/search/env/EnvProxySearchStrategy.java @@ -120,6 +120,8 @@ public ProxySelector getProxySelector() { Logger.log(getClass(), LogLevel.TRACE, "Https Proxy is {}", httpsPS == null ? this.httpsProxy : httpsPS); ps.setSelector("https", httpsPS != null ? httpsPS : httpPS); + ps.setSelector("wss", httpsPS != null ? httpsPS : httpPS); + ProxySelector ftpPS = ProxyUtil.parseProxySettings(this.ftpProxy); if (ftpPS != null) { Logger.log(getClass(), LogLevel.TRACE, "Ftp Proxy is {}", this.ftpProxy);