mirror of https://github.com/status-im/consul.git
7f2732e12c
The previous ordering of defers meant the listener's connWG could fire and wake up other goroutines before the connection closed. Unsure if this caused any real bugs but this commit should make the code more correct. |
||
---|---|---|
.. | ||
config.go | ||
config_test.go | ||
conn.go | ||
conn_test.go | ||
listener.go | ||
listener_test.go | ||
proxy.go | ||
proxy_test.go | ||
testing.go |