فهرست منبع

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
 			}