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

Add a custom User-Agent to rly queries #1511

Open
freak12techno opened this issue Nov 3, 2024 · 0 comments
Open

Add a custom User-Agent to rly queries #1511

freak12techno opened this issue Nov 3, 2024 · 0 comments

Comments

@freak12techno
Copy link
Contributor

When rly does its queries to the node, it doesn't override the User-Agent header, so instead, a default Golang User-Agent is used, and that makes it impossible to distinguish the queries done by rly and by any other tools written in Golang that doesn't have the User-Agent overridden.

This, in turn, makes it impossible to see the queries done by rly when looking at the logs of the queries done towards the node.

I suggest customizing the User-Agent header to have a value like rly/x.y.x, so it would be possible, and so if you look at the logs, you see which rly version did these logs.

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

No branches or pull requests

1 participant