envoy-mobile icon indicating copy to clipboard operation
envoy-mobile copied to clipboard

Disable GuardDogImpl

Open jpsim opened this issue 3 years ago • 2 comments

https://github.com/envoyproxy/envoy/blob/main/source/server/guarddog_impl.cc

The purpose of this type is to terminate the current process (generally an Envoy server) if the system isn't healthy.

We should never do this in a mobile app setting, so we should just turn this off when building Envoy Mobile.

jpsim avatar Sep 29 '22 18:09 jpsim

Envoy PR: https://github.com/envoyproxy/envoy/pull/23316

jpsim avatar Sep 29 '22 19:09 jpsim

Hmmm, I think the watch dog is currently responsible for actually running the main dispatch loop, so to disable it I'll actually need to run the main dispatch loop some other way. I've marked the Envoy PR as being a draft until I can do that.

jpsim avatar Sep 30 '22 15:09 jpsim