Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@ bind(
)

# When updating envoy sha manually please update the sha in istio.deps file also
ENVOY_SHA = "2d8386532f68899ca1fe6476dc458b0df1260b29"
ENVOY_SHA = "349a03a250317937e18103bd49925fc9cf4ef480"

http_archive(
name = "envoy",
strip_prefix = "envoy-" + ENVOY_SHA,
url = "https://github.com/istio/envoy/archive/" + ENVOY_SHA + ".zip",
url = "https://github.com/ronenschafferibm/envoy/archive/" + ENVOY_SHA + ".zip",
)

load("@envoy//bazel:repositories.bzl", "envoy_dependencies")
Expand Down
2 changes: 1 addition & 1 deletion istio.deps
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@
"name": "ENVOY_SHA",
"repoName": "istio/envoy",
"file": "WORKSPACE",
"lastStableSHA": "2d8386532f68899ca1fe6476dc458b0df1260b29"
"lastStableSHA": "349a03a250317937e18103bd49925fc9cf4ef480"
}
]
7 changes: 6 additions & 1 deletion src/envoy/tcp/mixer/filter.cc
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,12 @@ bool Filter::IsMutualTLS() const {
}

bool Filter::GetRequestedServerName(std::string* name) const {
return Utils::GetRequestedServerName(&filter_callbacks_->connection(), name);
bool isSet = Utils::GetRequestedServerName(&filter_callbacks_->connection(), name);
if (!filter_callbacks_->networkLevelRequestedServerName().empty()) {
*name = std::string(filter_callbacks_->networkLevelRequestedServerName());
isSet = true;
}
return isSet;
}

bool Filter::GetDestinationIpPort(std::string* str_ip, int* port) const {
Expand Down