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:
parent
59dbcd32ea
commit
be8fcc484a
5 changed files with 21 additions and 11 deletions
|
@ -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()
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue