默认支持低版本HTTP

This commit is contained in:
刘祥超
2023-04-01 21:46:31 +08:00
parent 9ec79adac6
commit 1b368ee490

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