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 oss portion of ent #1069 (#10883) 2021-08-20 12:57:45 -04:00
config_test.go oss portion of ent #1069 (#10883) 2021-08-20 12:57:45 -04:00
conn.go fix typos reported by golangci-lint:misspell (#5434) 2019-03-06 11:13:28 -06:00
conn_test.go connect/proxy: remove t.Parallel from tests 2021-04-28 13:46:53 -04:00
listener.go connect/proxy: fixes logic bug preventing builtin/native proxy from starting upstream listeners (#10486) 2021-06-24 15:02:34 -05:00
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: use the new freeport interfaces 2021-11-27 15:39:46 -05:00
testing.go testing: remove unnecessary calls to freeport 2021-11-29 12:19:43 -05:00