open-consul/connect
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
..
certgen Fix support for RSA CA keys in Connect. (#6638) 2019-11-01 13:20:26 +00:00
proxy Fix race during proxy closing (#13283) 2022-05-27 16:52:03 -04:00
example_test.go connect.Service based implementation after review feedback. 2018-06-14 09:41:56 -07:00
resolver.go oss portion of ent #1069 (#10883) 2021-08-20 12:57:45 -04:00
resolver_test.go bulk rewrite using this script 2022-01-20 10:46:23 -06:00
service.go Allow passing ALPN next protocols down to connect services. Fixes #4466. (#9920) 2021-03-26 11:34:47 +00:00
service_test.go Update go version to 1.18.1 2022-04-18 11:41:10 -04:00
testing.go sdk/freeport: rename Port to GetOne 2021-11-30 17:32:41 -05:00
tls.go Update go version to 1.18.1 2022-04-18 11:41:10 -04:00
tls_test.go Update go version to 1.18.1 2022-04-18 11:41:10 -04:00