proxy-wasm-rust-sdk
proxy-wasm-rust-sdk copied to clipboard
WebAssembly for Proxies (Rust SDK)
Migrate examples to separate folders. **TODO:** - [x] migrate hello_world - [x] migrate http_auth_random - [x] migrate http_headers - [x] migrate http_body - [x] migrate http_config - [x] Build each...
At the moment: * `hostcalls::open_grpc_stream` only registers stream IDs when connections are successful * Envoy calls close_grpc_stream on the stream id that is passed in, even when the original `open_grpc_stream`...
Fixes #153. This PR: * Logs in `on_grpc_close` when an invalid `token_id` is sent from the host. This happens in Envoy when the initial connection fails.
Having hard time to find it in the docs.
Proxy wasm spec defines `proxy_on_http_trailers` as a 3 parameter function: `context_id, num_trailers, end_of_stream`. This PR adds the missing `end_of_stream` parameter.
Reproduce steps: 1. Git clone the following WASM/RUST sample project: https://github.com/otomato-gh/proxy-wasm-rust 2. In the Cargo.toml file, add a 'reqwest' depedency [dependencies] reqwest = { version = "0.10" } 3. In...
Logic is working and using shared data to store intermediate results from http_dispatch_call to on_http_call_response_body, but when I try to replace the response_body. No method is working, generates a panic....
Under version 0.1.4, I am using HttpContext to write logic on_http_request_headers and on_http_request_body (same for response). I would like, when handling a body, to at least be able to read...
Right now if you turn on the `missing_doc` lint you'll get a complaint that the methods defined by `main!` aren't documented.