Fix missing upstreamConn.closed initialization
Fixes: b33e5f29ab
("Fix race condition in upstreamConn.Close")
This commit is contained in:
parent
b1fd943ad6
commit
aadeb327d3
@ -98,6 +98,7 @@ func connectToUpstream(network *network) (*upstreamConn, error) {
|
||||
srv: network.user.srv,
|
||||
user: network.user,
|
||||
outgoing: outgoing,
|
||||
closed: make(chan struct{}),
|
||||
channels: make(map[string]*upstreamChannel),
|
||||
caps: make(map[string]string),
|
||||
batches: make(map[string]batch),
|
||||
|
Loading…
Reference in New Issue
Block a user