Skip to content

use dispatch_grpc_call function how to add http/2 header? #258

Open
@pi-pi-miao

Description

@pi-pi-miao
fn dispatch_grpc_call(
    &self,
    upstream_name: &str,
    service_name: &str,
    method_name: &str,
    initial_metadata: Vec<(&str, &[u8])>,
    message: Option<&[u8]>,
    timeout: Duration,
) -> Result<u32, Status> {
    hostcalls::dispatch_grpc_call(
        upstream_name,
        service_name,
        method_name,
        initial_metadata,
        message,
        timeout,
    )
}

in istio wasmplugin the dispatch_grpc_call cannot add grpc header, resulting in the other side sidcar or no sidecar environment tonic grpc as server can not parse

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions