mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08: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