proxy-wasm-cpp-host
proxy-wasm-cpp-host copied to clipboard
WebAssembly for Proxies (C++ host implementation)
Currently, proxy_wasm::createWasm() [always canaries](https://github.com/proxy-wasm/proxy-wasm-cpp-host/blob/624ef2edac2cdc086e0339f36b32ef1a2ed7e270/src/wasm.cc#L537) the provided plugin. This provides assurance that the given plugin will be able to start successfully in the returned WasmBase instance. However in some use cases,...
See https://github.com/proxy-wasm/spec/issues/63
We converted all StopIteration to StopAll at #95. It make the wasm filter couldn't work in some typically scenarios, for example, custom auth may require to parse body to complete...
In the Envoy, the route cache will be cleared by default if a header is modified by the wasm filter. It would be better to provide a way to control...
References to `include/wasm.h` changed to `crates/c-api/include/wasm.h`, so the prefixed api output needs to change as well. Fixes #418
``` vscode@docker-desktop:~/proxy-wasm-cpp-host$ bazel build --define=engine=multi :lib INFO: Analyzed target //:lib (0 packages loaded, 0 targets configured). INFO: Found 1 target... ERROR: /build/proxy-wasm-cpp-host/BUILD:246:11: Compiling src/wasmtime/prefixed_wasmtime.cc failed: (Exit 1): gcc failed: error...
- Update v8.patch - Remove v8_include.patch which is no longer needed - Remove dependency on chromium_base_trace_event_common This PR is stacked on top of #411.
`std=c++20` is used by both [v8](https://github.com/v8/v8/blob/85019c919dc1d5166702e59928f798c82f553fbb/bazel/defs.bzl#L148) and [Envoy](https://github.com/envoyproxy/envoy/blob/dbb35fa0d4b61f29c6ae81aca2cbd88184207d18/.bazelrc#L68). Switching to use it overall will reduce build surprises when importing proxy-wasm-cpp-host into Envoy.
Parameterized tests that rely on getWasmEngines() to determine test cases are not actually being instantiated. I discovered this when I updated googletest to a more recent version that detects uninstantiated...
While working on https://github.com/proxy-wasm/proxy-wasm-cpp-host/issues/384 I tried to update to Bazel 7, but I ran into a few build errors (below). This issue tracks fixing them. Build errors seem to generally...