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

[#735] Converters for network addresses #787

Merged
merged 1 commit into from
Feb 7, 2019
Merged

[#735] Converters for network addresses #787

merged 1 commit into from
Feb 7, 2019

Conversation

dmlloyd
Copy link
Member

@dmlloyd dmlloyd commented Feb 6, 2019

No description provided.

Copy link
Member

@Sanne Sanne left a comment

Choose a reason for hiding this comment

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

Looks fine.

One doubt, you probably know better: this would never resolve a hostname right?

I'm thinking we wouldn't want to store a resolved IP in the binary image when the config was referring to hostnames; it looks like this code wouldn't do that but I'm not sure.

@dmlloyd
Copy link
Member Author

dmlloyd commented Feb 7, 2019

Normally it will never resolve host names, except for one case: when storing a raw InetAddress, it must always be resolved (there's no way to have an unresolved InetAddress). Properties of type InetSocketAddress are created as unresolved.

@dmlloyd dmlloyd merged commit c877545 into quarkusio:master Feb 7, 2019
@dmlloyd dmlloyd deleted the net-conv branch February 7, 2019 14:19
@dmlloyd dmlloyd added this to the 0.9.0 milestone Feb 11, 2019
maxandersen pushed a commit to maxandersen/quarkus that referenced this pull request Nov 5, 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.

2 participants