Просмотр исходного кода

Fix: meek_host_header should not be logged for HTTPS meek protocols

Rod Hynes 7 лет назад
Родитель
Сommit
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) {
 			!protocol.TunnelProtocolUsesFrontedMeek(tunnelProtocol) {
 
 
 			// Non-HTTP unfronted meek protocols never tranform the host header.
 			// Non-HTTP unfronted meek protocols never tranform the host header.
-			if !protocol.TunnelProtocolUsesMeekHTTPS(tunnelProtocol) {
+			if protocol.TunnelProtocolUsesMeekHTTPS(tunnelProtocol) {
 				continue
 				continue
 			}
 			}