Skip to content

getaddrinfo flags deprecated warning #4615

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

Closed
wants to merge 2 commits into from

Conversation

viest
Copy link
Member

@viest viest commented Aug 24, 2019

glibc 2.28
The AI_IDN_ALLOW_UNASSIGNED and NI_IDN_ALLOW_UNASSIGNED flags for the getaddrinfo and getnameinfo functions have been deprecated. The behavior previously selected by them is now always enabled.

I hope we should follow glibc deprecation and remove these flags.

I didn't delete the deprecated flag, but throw a deprecated warning.

viest added 2 commits August 3, 2019 23:05
The AI_IDN_ALLOW_UNASSIGNED and NI_IDN_ALLOW_UNASSIGNED flags for the getaddrinfo and getnameinfo functions have been deprecated. The behavior previously selected by them is now always enabled.

I hope we should follow glibc deprecation and remove these flags.
@viest viest changed the title flag deprecated warning getaddrinfo flags deprecated warning Aug 24, 2019
@nikic
Copy link
Member

nikic commented Aug 26, 2019

Merged as 5703943 together with a test case. Thanks!

@nikic nikic closed this Aug 26, 2019
@carusogabriel carusogabriel added this to the PHP 8.0 milestone May 29, 2020
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