Skip to content

bpo-30711: getaddrinfo invalid port number - #2436

Closed
smejkar wants to merge 4 commits into
python:masterfrom
smejkar:bpo-30711
Closed

bpo-30711: getaddrinfo invalid port number#2436
smejkar wants to merge 4 commits into
python:masterfrom
smejkar:bpo-30711

Conversation

@smejkar

Copy link
Copy Markdown
Contributor

Define HAVE_BROKEN_GETADDRINFO if the getaddrinfo function does not
detect invalid numeric services.
If the getaddrinfo function does not detect invalid numeric services,
replace it with a wrapper that returns an error code if the port number
is invalid, and calls the getaddrinfo function otherwise.
Return an error code if servname is an invalid numeric service.

@auvipyauvipy left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

re base needed

@csabella

Copy link
Copy Markdown
Contributor

I'm going to close it as inactive. If the original author is interested in continuing to work on it, it can be reopened or someone else can create a new pull request to replace it. If the original author's work is used in a new PR, please give the appropriate credit.

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants

@smejkar@csabella@auvipy@brettcannon@Mariatta@the-knights-who-say-ni@bedevere-bot