mirror of
https://github.com/coder/coder.git
synced 2025-07-18 14:17:22 +00:00
@ -192,6 +192,7 @@ func TestConn(t *testing.T) {
|
||||
_ = server.Serve(srv)
|
||||
}()
|
||||
|
||||
//nolint:forcetypeassert
|
||||
defaultTransport := http.DefaultTransport.(*http.Transport).Clone()
|
||||
var cch *peer.Channel
|
||||
defaultTransport.DialContext = func(ctx context.Context, network, addr string) (net.Conn, error) {
|
||||
|
Reference in New Issue
Block a user