Эх сурвалжийг харах

Fix: backwards logic regarding use of port 443 in GetDirectWebRequestPorts

Rod Hynes 10 жил өмнө
parent
commit
8f9110a0e4

+ 1 - 1
psiphon/serverEntry.go

@@ -115,7 +115,7 @@ func (serverEntry *ServerEntry) GetDirectWebRequestPorts() []string {
 		// Server-side configuration quirk: there's a port forward from
 		// port 443 to the web server, which we can try, except on servers
 		// running FRONTED_MEEK, which listens on port 443.
-		if serverEntry.SupportsProtocol(TUNNEL_PROTOCOL_FRONTED_MEEK) {
+		if !serverEntry.SupportsProtocol(TUNNEL_PROTOCOL_FRONTED_MEEK) {
 			ports = append(ports, "443")
 		}
 		ports = append(ports, serverEntry.WebServerPort)