mirror of
				https://github.com/TeaOSLab/EdgeCommon.git
				synced 2025-11-04 05:00:24 +08:00 
			
		
		
		
	默认支持低版本HTTP
This commit is contained in:
		@@ -4,7 +4,7 @@ package serverconfigs
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
func DefaultGlobalServerConfig() *GlobalServerConfig {
 | 
					func DefaultGlobalServerConfig() *GlobalServerConfig {
 | 
				
			||||||
	var config = &GlobalServerConfig{}
 | 
						var config = &GlobalServerConfig{}
 | 
				
			||||||
	config.HTTPAll.SupportsLowVersionHTTP = false
 | 
						config.HTTPAll.SupportsLowVersionHTTP = true
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	config.HTTPAccessLog.EnableRequestHeaders = true
 | 
						config.HTTPAccessLog.EnableRequestHeaders = true
 | 
				
			||||||
	config.HTTPAccessLog.EnableResponseHeaders = true
 | 
						config.HTTPAccessLog.EnableResponseHeaders = true
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user