Skip to content

Commit

Permalink
Address comments.
Browse files Browse the repository at this point in the history
Signed-off-by: John Plevyak <[email protected]>
  • Loading branch information
jplevyak committed Apr 13, 2020
1 parent 0f0344f commit cc7d1d8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions source/extensions/common/wasm/context.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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()] {
Expand Down

0 comments on commit cc7d1d8

Please sign in to comment.