options: remove refresh_cooldown, add allow_spdy to proto (#2446)

This commit is contained in:
Caleb Doxsey 2021-08-06 10:06:57 -06:00 committed by GitHub
parent 1931f11649
commit 63ee30d69c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 487 additions and 523 deletions

View file

@ -5,7 +5,6 @@ import (
"encoding/base64"
"net/url"
"sync/atomic"
"time"
"github.com/pomerium/pomerium/config"
"github.com/pomerium/pomerium/internal/encoding"
@ -29,7 +28,6 @@ type proxyState struct {
encoder encoding.MarshalUnmarshaler
cookieSecret []byte
refreshCooldown time.Duration
sessionStore sessions.SessionStore
sessionLoaders []sessions.SessionLoader
jwtClaimHeaders config.JWTClaimHeaders
@ -65,7 +63,6 @@ func newProxyStateFromConfig(cfg *config.Config) (*proxyState, error) {
return nil, err
}
state.refreshCooldown = cfg.Options.RefreshCooldown
state.jwtClaimHeaders = cfg.Options.JWTClaimsHeaders
// errors checked in ValidateOptions