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

Rename the uds-gateway feature to http-uds-gateway #528

Merged
merged 1 commit into from
Nov 21, 2022

Conversation

fabricedesre
Copy link
Contributor

I noticed that iroh-one could not start without a config file, because the gateway rpc_addr was not set. This was due to some confusion about the role of the uds-gateway feature in iroh-one/src/config.rs.

I can't blame people for being confused since it's not a very good name. This patch tries to improve the situation by:

  • renaming the feature to the more explicit http-uds-gateway.
  • use the same rpc addr by default in iroh-one as in iroh-gateway.

With these changes iroh-one can start without parameters as expected, and the usage of the configuration file is unchanged.

Copy link
Contributor

@flub flub left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm. agree this would make things slightly easier.

iroh-one/Cargo.toml Outdated Show resolved Hide resolved
@Arqu
Copy link
Collaborator

Arqu commented Nov 21, 2022

Can we rebase, lgmt

@fabricedesre
Copy link
Contributor Author

Can we rebase, lgmt

done!

@Arqu Arqu merged commit d4c9c6f into n0-computer:main Nov 21, 2022
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.

3 participants