open-consul/connect/proxy
Matt Keeler 4814733934
Fix race during proxy closing (#13283)
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.
2022-05-27 16:52:03 -04:00
..
config.go
config_test.go
conn.go
conn_test.go
listener.go
listener_test.go sdk/freeport: rename Port to GetOne 2021-11-30 17:32:41 -05:00
proxy.go Fix race during proxy closing (#13283) 2022-05-27 16:52:03 -04:00
proxy_test.go
testing.go testing: remove unnecessary calls to freeport 2021-11-29 12:19:43 -05:00