Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace DownstreamRemoteAddress with DownstreamDirectRemoteAddress #376

Merged
merged 1 commit into from
May 25, 2023

Conversation

Patrick0308
Copy link
Contributor

@Patrick0308 Patrick0308 commented May 24, 2023

DownstreamDirectRemoteAddress always the physical peer, but DownstreamRemote Address is not when request has XFF headers. See document on https://www.envoyproxy.io/docs/envoy/latest/configuration/observability/access_log/usage

Fix #367

@MouceL
Copy link
Contributor

MouceL commented May 25, 2023

the DownstreamDirectRemoteAddress was introduced into go-control-plane in v0.9.3 and after version

@MouceL MouceL requested review from MouceL and YonkaFang May 25, 2023 05:49
@Patrick0308
Copy link
Contributor Author

The version of slime's go-control-plane is v0.9.9-0.20210217033140-668b12f5399d . It's ok.

@YonkaFang YonkaFang merged commit 20ce52e into slime-io:master May 25, 2023
@Patrick0308 Patrick0308 deleted the fix-downstream-address branch August 24, 2023 08:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

When request has XFF header, lazyload not process access log correctly.
3 participants