From cc7d1d84f8a450aa2fec8e8fdd33991f9d3bcb66 Mon Sep 17 00:00:00 2001 From: John Plevyak Date: Mon, 13 Apr 2020 21:26:18 +0000 Subject: [PATCH] Address comments. Signed-off-by: John Plevyak --- source/extensions/common/wasm/context.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/source/extensions/common/wasm/context.cc b/source/extensions/common/wasm/context.cc index cb682cd10e16..eb795acde450 100644 --- a/source/extensions/common/wasm/context.cc +++ b/source/extensions/common/wasm/context.cc @@ -1590,6 +1590,7 @@ void Context::setEncoderFilterCallbacks(Envoy::Http::StreamEncoderFilterCallback } void Context::onHttpCallSuccess(uint32_t token, Envoy::Http::ResponseMessagePtr&& response) { + // TODO: convert this into a function in proxy-wasm-cpp-host and use here. if (proxy_wasm::current_context_ != nullptr) { // We are in a reentrant call, so defer. wasm()->addAfterVmCallAction([this, token, response = response.release()] {