Loading CHANGELOG.md +2 −1 Original line number Diff line number Diff line Loading @@ -4,7 +4,8 @@ All notable changes to this project are documented below. The format is based on [keep a changelog](http://keepachangelog.com) and this project uses [semantic versioning](http://semver.org). ## [Unreleased] ### Changed - Default runtime HTTP key value is no longer the same as the default Server key value. ## [2.7.0] - 2019-09-11 ### Added Loading server/config.go +2 −2 Original line number Diff line number Diff line Loading @@ -241,7 +241,7 @@ func CheckConfig(logger *zap.Logger, config Config) map[string]string { logger.Warn("WARNING: insecure default parameter value, change this for production!", zap.String("param", "session.encryption_key")) configWarnings["session.encryption_key"] = "Insecure default parameter value, change this for production!" } if config.GetRuntime().HTTPKey == "defaultkey" { if config.GetRuntime().HTTPKey == "defaulthttpkey" { logger.Warn("WARNING: insecure default parameter value, change this for production!", zap.String("param", "runtime.http_key")) configWarnings["runtime.http_key"] = "Insecure default parameter value, change this for production!" } Loading Loading @@ -615,7 +615,7 @@ func NewRuntimeConfig() *RuntimeConfig { Environment: make(map[string]string, 0), Env: make([]string, 0), Path: "", HTTPKey: "defaultkey", HTTPKey: "defaulthttpkey", MinCount: 16, MaxCount: 256, CallStackSize: 128, Loading Loading
CHANGELOG.md +2 −1 Original line number Diff line number Diff line Loading @@ -4,7 +4,8 @@ All notable changes to this project are documented below. The format is based on [keep a changelog](http://keepachangelog.com) and this project uses [semantic versioning](http://semver.org). ## [Unreleased] ### Changed - Default runtime HTTP key value is no longer the same as the default Server key value. ## [2.7.0] - 2019-09-11 ### Added Loading
server/config.go +2 −2 Original line number Diff line number Diff line Loading @@ -241,7 +241,7 @@ func CheckConfig(logger *zap.Logger, config Config) map[string]string { logger.Warn("WARNING: insecure default parameter value, change this for production!", zap.String("param", "session.encryption_key")) configWarnings["session.encryption_key"] = "Insecure default parameter value, change this for production!" } if config.GetRuntime().HTTPKey == "defaultkey" { if config.GetRuntime().HTTPKey == "defaulthttpkey" { logger.Warn("WARNING: insecure default parameter value, change this for production!", zap.String("param", "runtime.http_key")) configWarnings["runtime.http_key"] = "Insecure default parameter value, change this for production!" } Loading Loading @@ -615,7 +615,7 @@ func NewRuntimeConfig() *RuntimeConfig { Environment: make(map[string]string, 0), Env: make([]string, 0), Path: "", HTTPKey: "defaultkey", HTTPKey: "defaulthttpkey", MinCount: 16, MaxCount: 256, CallStackSize: 128, Loading