Comments (3)
@sanfern I've run into a similar situation. Because the abi standard has not been fully documented, there is still a little difference between this project and the implementation of envoy. Especially if your wasm plugin works with the envoy, your wasm will not be loaded correctly unless you have added/modified some functions.
from proxy-wasm-go-host.
That's because the default implementation of Get/AddHttpRequestHeader is noop.
One should override these functions, as shown in the example, to get it worked as expected.
from proxy-wasm-go-host.
@antJack Thanks for your response. Not working, I added following code in the example.
func (im *importHandler) AddHttpRequestHeader(key, value string) error {
im.reqHeader.Add(key, value)
return nil
}
Wasm plugin works with the envoy, but not with go host proxy.
from proxy-wasm-go-host.
Related Issues (10)
- BufferType extension should be support
- Imports/exports don't match expected Proxy-Wasm ABI versions. HOT 4
- go get mosn.io/proxy-wasm-go-host/proxywasm/common is failing HOT 4
- When call ProxyOnRequestHeaders get wrong action HOT 5
- Can you add the implementation and example of wazero? HOT 13
- Drop ABI v0.1.0 HOT 9
- Change example to use currently maintained ABI (0.2) HOT 1
- err: "proxy_set_buffer_bytes" is not exported in module "env"
- Add CI HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from proxy-wasm-go-host.