Skip to content

Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance

fix detection of https port changed after set in System Admin

reger02afba730eb3
diff --git a/htroot/SettingsAck_p.java b/htroot/SettingsAck_p.java
index 70e125474..601ab2cbf 100644
--- a/htroot/SettingsAck_p.java
+++ b/htroot/SettingsAck_p.java
@@ -494,7 +494,7 @@ public class SettingsAck_p {
// change https port
if (post.containsKey("port.ssl")) {
int port = post.getInt("port.ssl", 8443);
- if (port > 0 && port != env.getLocalPort("port", 8090)) {
+ if (port > 0 && port != env.getConfigInt("port.ssl", 8443)) {
env.setConfig("port.ssl", port);
}
prop.put("info_port.ssl", port);