Преглед изворни кода

Fix: meek_host_header should not be logged for HTTPS meek protocols

Rod Hynes пре 7 година
родитељ
комит
0f5f5f748c
1 измењених фајлова са 1 додато и 1 уклоњено
  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
 			}