mirror of
https://github.com/cloudflare/cloudflared.git
synced 2025-07-28 16:01:05 +00:00
TUN-3799: extended the Stream interface to take a logger and added debug logs for io.Copy errors
This commit is contained in:

committed by
Nuno Diegues

parent
a6c2348127
commit
8b794390e5
@@ -202,7 +202,7 @@ func (p *proxy) proxyConnection(
|
||||
originConn.Close()
|
||||
}()
|
||||
|
||||
originConn.Stream(eyeballConn)
|
||||
originConn.Stream(eyeballConn, p.log)
|
||||
return resp, nil
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user