proxy-wasm-cpp-sdk icon indicating copy to clipboard operation
proxy-wasm-cpp-sdk copied to clipboard

The function proxy_get_configuration() should be removed from the SDK

Open mkauf opened this issue 3 years ago • 0 comments

The function proxy_get_configuration() is not implemented anymore in Envoy. If it's used by a WASM plugin, Envoy prints this error message:

[error][wasm] [source/extensions/common/wasm/wasm_vm.cc:38] Failed to load Wasm module due to a missing import: env.proxy_get_configuration

Therefore the function proxy_get_configuration() should be removed from the SDK.

Note: To get the plugin configuration, use getBufferBytes(WasmBufferType::PluginConfiguration, 0, configuration_size).

mkauf avatar Dec 24 '21 08:12 mkauf