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

Prevent tproxy from panicing if downstream address is unavailable #1279

Open
jbesraa opened this issue Dec 9, 2024 · 0 comments
Open

Prevent tproxy from panicing if downstream address is unavailable #1279

jbesraa opened this issue Dec 9, 2024 · 0 comments
Labels
translation proxy SV1>SV2 translation proxy issues

Comments

@jbesraa
Copy link
Contributor

jbesraa commented Dec 9, 2024

We should handle the unwrap here, otherwise tproxy panics although this peer address is only needed for logs

let host = stream.peer_addr().unwrap().to_string();

original issue: #1273

@jbesraa jbesraa changed the title Prevent tproxy from panicing if downstream address is unavialable Prevent tproxy from panicing if downstream address is unavailable Dec 9, 2024
@pavlenex pavlenex added the translation proxy SV1>SV2 translation proxy issues label Dec 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
translation proxy SV1>SV2 translation proxy issues
Projects
None yet
Development

No branches or pull requests

2 participants