mirror of https://github.com/status-im/consul.git
ead8e4a200
p.service is written to within the Serve method. The Serve method also waits for the stopChan to be closed. The race was between Close being called on the proxy causing Close on the service which was written to around the same time in the Serve method. The fix is to have Serve be responsible for closing p.service. |
||
---|---|---|
.. | ||
certgen | ||
proxy | ||
example_test.go | ||
resolver.go | ||
resolver_test.go | ||
service.go | ||
service_test.go | ||
testing.go | ||
tls.go | ||
tls_test.go |