Commit 7757b253 authored by Andrei Mihu's avatar Andrei Mihu
Browse files

Change default runtime HTTP key value.

parent d0aa6af3
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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
+2 −2
Original line number Diff line number Diff line
@@ -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!"
	}
@@ -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,