We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I am trying to add circuit breaking to specific request. I looked into this example https://github.com/tetratelabs/proxy-wasm-go-sdk/blob/main/examples/postpone_requests/main.go but not clear how to add postpone for specific request
func (ctx *httpContext) OnHttpRequestHeaders(numHeaders int, endOfStream bool) types.Action { proxywasm.LogInfof("postpone request with contextID=%d", ctx.contextID) ctx.pluginCtx.postponed = append(ctx.pluginCtx.postponed, ctx.contextID) return types.ActionPause }
None
client version: 1.18.0 control plane version: 1.18.0 data plane version: 1.18.0 (2 proxies)
github.com/tetratelabs/proxy-wasm-go-sdk v0.21.0
tinygo version 0.28.1 darwin/amd64 (using go version go1.20.14 and LLVM version 15.0.0)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I am trying to add circuit breaking to specific request. I looked into this example
https://github.com/tetratelabs/proxy-wasm-go-sdk/blob/main/examples/postpone_requests/main.go but not clear how to add postpone for specific request
Describe the bug / error
None
What is your Envoy/Istio version?
What is the SDK version?
github.com/tetratelabs/proxy-wasm-go-sdk v0.21.0
What is your TinyGo version?
tinygo version 0.28.1 darwin/amd64 (using go version go1.20.14 and LLVM version 15.0.0)
URL or snippet of your code including Envoy configuration
Additional context (Optional)
The text was updated successfully, but these errors were encountered: