mirror of
				https://github.com/TeaOSLab/EdgeCommon.git
				synced 2025-11-04 21:50:26 +08:00 
			
		
		
		
	减少默认的WAF检查尺寸
This commit is contained in:
		@@ -2,7 +2,7 @@ package firewallconfigs
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
import "encoding/json"
 | 
					import "encoding/json"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
const DefaultMaxRequestBodySize int64 = 1 << 20
 | 
					const DefaultMaxRequestBodySize int64 = 512 << 10
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// HTTPFirewallPolicy 防火墙策略
 | 
					// HTTPFirewallPolicy 防火墙策略
 | 
				
			||||||
type HTTPFirewallPolicy struct {
 | 
					type HTTPFirewallPolicy struct {
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user