mirror of
https://github.com/coredns/coredns.git
synced 2025-10-28 08:44:17 -04:00
plugin/forward: expose few methods and attributes to public (#1766)
* plugin/forward: expose few methods and attributes to public * Update comments
This commit is contained in:
committed by
Miek Gieben
parent
59dbcd32ea
commit
be8fcc484a
@@ -29,10 +29,10 @@ func TestProxyClose(t *testing.T) {
|
||||
p := NewProxy(s.Addr, nil)
|
||||
p.start(hcDuration)
|
||||
|
||||
go func() { p.connect(ctx, state, false, false) }()
|
||||
go func() { p.connect(ctx, state, true, false) }()
|
||||
go func() { p.connect(ctx, state, false, false) }()
|
||||
go func() { p.connect(ctx, state, true, false) }()
|
||||
go func() { p.Connect(ctx, state, false, false) }()
|
||||
go func() { p.Connect(ctx, state, true, false) }()
|
||||
go func() { p.Connect(ctx, state, false, false) }()
|
||||
go func() { p.Connect(ctx, state, true, false) }()
|
||||
|
||||
p.close()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user