mirror of
https://github.com/pomerium/pomerium.git
synced 2025-08-06 10:21:05 +02:00
drop tun.cfg.dstHost from jwtCacheKey (#2115)
This commit is contained in:
parent
e0c09a0998
commit
2806b67bee
1 changed files with 1 additions and 1 deletions
|
@ -214,7 +214,7 @@ func (tun *Tunnel) run(ctx context.Context, local io.ReadWriter, rawJWT string,
|
||||||
}
|
}
|
||||||
|
|
||||||
func (tun *Tunnel) jwtCacheKey() string {
|
func (tun *Tunnel) jwtCacheKey() string {
|
||||||
return fmt.Sprintf("%s|%s|%v", tun.cfg.dstHost, tun.cfg.proxyHost, tun.cfg.tlsConfig != nil)
|
return fmt.Sprintf("%s|%v", tun.cfg.proxyHost, tun.cfg.tlsConfig != nil)
|
||||||
}
|
}
|
||||||
|
|
||||||
func deBuffer(br *bufio.Reader, underlying io.Reader) io.Reader {
|
func deBuffer(br *bufio.Reader, underlying io.Reader) io.Reader {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue