proxy-wasm-go-sdk
proxy-wasm-go-sdk copied to clipboard
WebAssembly for Proxies (Go SDK)
The example auth module dispatches a HTTP request to determine whether to allow the request: https://github.com/tetratelabs/proxy-wasm-go-sdk/blob/main/examples/http_auth_random/main.go#L61-L65 This logs a critical error and returns a continue action. Does this mean that...
I'd like to see proxy_get_buffer_status(), e.g. https://github.com/proxy-wasm/proxy-wasm-cpp-host/blob/92f02c0001592199d99f946cea34637ff095a8ba/include/proxy-wasm/wasm_api_impl.h#L147 Also proxy_get_header_map_size() , e.g. https://github.com/proxy-wasm/proxy-wasm-cpp-host/blob/92f02c0001592199d99f946cea34637ff095a8ba/include/proxy-wasm/wasm_api_impl.h#L192 I use these when debugging new extensions.
Currently, it seems proxytest does not support `proxywasm.GetProperty`. Would it make sense to have a `SetProperty(contextID uint32, key []string, val []byte)` on the host emulator? https://github.com/tetratelabs/proxy-wasm-go-sdk/blob/main/proxywasm/proxytest/http.go#L360 /cc @mathetake
https://github.com/tetratelabs/proxy-wasm-go-sdk?tab=readme-ov-file#build-and-run-examples does not work. Makefile targets seem to have changed.
## Describe the bug / error I am trying to find a solution to implement a flow similar to what is achieved in TCP Fast Open where we send data...
Hey guys, noticed some case that actionPause will not pause the processing in the filter chain. I have a wasm filter and ext-proc filter configure in my envoy sth like:...
How to call a https request by use DispatchHttpCall This is my code: ``` cluster := "outbound|443||httpbin.org" headers := [][2]string{ {":scheme", "https"}, {":method", "GET"}, {":path", "/get"}, {":authority", "httpbin.org"}, {"accept", "*/*"},...
## Describe the bug / error Issue with the wasm plugin while envoy serving relatively large file (approximately larger than 1mb). When there is a large file, the request is...
## Describe the bug / error I was trying install some custom logic which basically performs rate limit with buffering. The logic looks like this: let's say we want limit...