mirror of
https://github.com/pomerium/pomerium.git
synced 2025-08-02 16:30:17 +02:00
parent
6ea8d34b8f
commit
4f0ce4bc82
5 changed files with 18 additions and 21 deletions
|
@ -196,8 +196,9 @@ func (tun *Tunnel) run(ctx context.Context, local io.ReadWriter, rawJWT string,
|
|||
_, err := io.Copy(remote, local)
|
||||
errc <- err
|
||||
}()
|
||||
remoteReader := deBuffer(br, remote)
|
||||
go func() {
|
||||
_, err := io.Copy(local, deBuffer(br, remote))
|
||||
_, err := io.Copy(local, remoteReader)
|
||||
errc <- err
|
||||
}()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue