Skip to content

setting :authority in initial_metadata creates two :authority values #199

Open
@collinlee

Description

@collinlee

When I attempt to set the initial_metadata value as a vector in dispatch_grpc_call like so


dispatch_grpc_call(
                    "upstream-cluster",
                    "test.Service",
                    "testMethod",
                    vec![
                        (":scheme", "https".as_bytes()),
                        (":authority", "foo.aws.foobar.cl".as_bytes())
                    ],
                    Some(request.write_to_bytes().unwrap().as_slice()),
                    Duration::from_secs(2),
)

I see in the Envoy logs that the headers sent are

':authority', 'upstream-cluster,foo.aws.foobar.cl'

Is there a way that :authority can only be set to foo.aws.foobar.cl?

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