Skip to content

Comments

BIO_lookup_ex: use AI_ADDRCONFIG only if explicit host name is given#16033

Closed
ueno wants to merge 1 commit intoopenssl:masterfrom
ueno:wip/dueno/addrconfig
Closed

BIO_lookup_ex: use AI_ADDRCONFIG only if explicit host name is given#16033
ueno wants to merge 1 commit intoopenssl:masterfrom
ueno:wip/dueno/addrconfig

Conversation

@ueno
Copy link
Contributor

@ueno ueno commented Jul 9, 2021

The flag only affects which record types are queried via DNS (A or
AAAA, or both). When node is NULL and AF_UNSPEC is used, it prevents
getaddrinfo returning the right address associated with the loopback
interface.

Signed-off-by: Daiki Ueno [email protected]

Checklist
  • documentation is added or updated
  • tests are added or updated

The flag only affects which record types are queried via DNS (A or
AAAA, or both).  When node is NULL and AF_UNSPEC is used, it prevents
getaddrinfo returning the right address associated with the loopback
interface.

Signed-off-by: Daiki Ueno <[email protected]>
Copy link
Member

@beldmit beldmit left a comment

Choose a reason for hiding this comment

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

LGTM

@t8m t8m added approval: done This pull request has the required number of approvals branch: 1.1.1 Applies to OpenSSL_1_1_1-stable branch (EOL) triaged: bug The issue/pr is/fixes a bug and removed approval: otc review pending labels Jul 9, 2021
@t8m
Copy link
Member

t8m commented Jul 9, 2021

I see this as a bug fix. Should this be applied to 1.1.1? Does it cherry-pick cleanly?

@ueno
Copy link
Contributor Author

ueno commented Jul 9, 2021

It does not apply cleanly (because of filename change), but I can file a PR if it makes sense. Thank you for the reviews.

@t8m
Copy link
Member

t8m commented Jul 9, 2021

It does not apply cleanly (because of filename change), but I can file a PR if it makes sense.

Please do

@openssl-machine
Copy link
Collaborator

24 hours has passed since 'approval: done' was set, but as this PR has been updated in that time the label 'approval: ready to merge' is not being automatically set. Please review the updates and set the label manually.

openssl-machine pushed a commit that referenced this pull request Jul 10, 2021
The flag only affects which record types are queried via DNS (A or
AAAA, or both).  When node is NULL and AF_UNSPEC is used, it prevents
getaddrinfo returning the right address associated with the loopback
interface.

Signed-off-by: Daiki Ueno <[email protected]>

Reviewed-by: Tomas Mraz <[email protected]>
Reviewed-by: Dmitry Belyavskiy <[email protected]>
(Merged from #16033)
@beldmit
Copy link
Member

beldmit commented Jul 10, 2021

Merged. Thanks!

@beldmit beldmit closed this Jul 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approval: done This pull request has the required number of approvals branch: master Applies to master branch branch: 1.1.1 Applies to OpenSSL_1_1_1-stable branch (EOL) triaged: bug The issue/pr is/fixes a bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants