This repository was archived by the owner on Apr 24, 2025. It is now read-only.
This repository was archived by the owner on Apr 24, 2025. It is now read-only.
OnBodyRequest never triggered if onReqeuestHeaders returns stopIteration #138
Closed
Description
I'll preface this with it could be user error but my scenario is I'm making a grpc call out to some backend service. The backend server will mutate both the headers and the body. So I need to execute both onRequestHeaders and onRequestBody before getting the result.
The problem is it hangs indefinitely, but I'm told it should work. Assuming it did work once then I believe it's related to this change:
proxy-wasm/proxy-wasm-cpp-host#95
Sampe code is here: https://github.com/bladedancer/envoy-wasm-stopitertest/blob/main/wasm-filter/context.cc#L32.
Is this scenario achievable? Is it a bug or the expected behaviour?
Metadata
Metadata
Assignees
Labels
No labels