envoyproxy / envoyproxy/envoy-filter-example

How to get upstream host from filter!!

Open
#125 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
360
Forks
220
PR merge metrics
No merged PRs in 30d

Description

Is there a way to get upstream host from http filter or network filter? callbacks_->streamInfo().upstreamHost() is alway nullptr. Basically, the custom filter needs to get lb-selected upstream host. Is it possible? I tried with upstream network filter. But upstreamHost is always nullptr. Please help.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.