mirror of
https://github.com/pomerium/pomerium.git
synced 2025-07-31 07:19:16 +02:00
options: remove refresh_cooldown, add allow_spdy to proto (#2446)
This commit is contained in:
parent
1931f11649
commit
63ee30d69c
9 changed files with 487 additions and 523 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue