proxy-wasm-cpp-host
proxy-wasm-cpp-host copied to clipboard
gRPC callbacks are reentrant, defer them
gRPC callbacks are reentrant, leading to callback-during-callback, and crashes in SDKs.
Those should be deferred (similarly to callbacks for HTTP callouts, etc.)
Reported in https://github.com/proxy-wasm/proxy-wasm-rust-sdk/issues/206, although plugins would crash even with deferred call due to unregistered token_id.
cc @mpwarres
@mpwarres could you take a stab at fixing this?