Przeglądaj źródła

Fix: meek_host_header should not be logged for HTTPS meek protocols

Rod Hynes 7 lat temu
rodzic
commit
0f5f5f748c
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      psiphon/server/api.go

+ 1 - 1
psiphon/server/api.go

@@ -815,7 +815,7 @@ func getRequestLogFields(
 			!protocol.TunnelProtocolUsesFrontedMeek(tunnelProtocol) {
 
 			// Non-HTTP unfronted meek protocols never tranform the host header.
-			if !protocol.TunnelProtocolUsesMeekHTTPS(tunnelProtocol) {
+			if protocol.TunnelProtocolUsesMeekHTTPS(tunnelProtocol) {
 				continue
 			}