默认支持低版本HTTP

This commit is contained in:
GoEdgeLab
2023-04-01 21:46:31 +08:00
parent a388821cb8
commit ad56d7603c

View File

@@ -4,7 +4,7 @@ package serverconfigs
func DefaultGlobalServerConfig() *GlobalServerConfig {
var config = &GlobalServerConfig{}
config.HTTPAll.SupportsLowVersionHTTP = false
config.HTTPAll.SupportsLowVersionHTTP = true
config.HTTPAccessLog.EnableRequestHeaders = true
config.HTTPAccessLog.EnableResponseHeaders = true