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

bindlocal: Don't use a random port if port number would wrap #8862

Closed
wants to merge 1 commit into from

Conversation

piru
Copy link

@piru piru commented May 16, 2022

Earlier if CURLOPT_LOCALPORT + CURLOPT_LOCALPORTRANGE would go past port 65535 the code would fall back to random port rather than giving up.

bagder
bagder approved these changes May 16, 2022
lib/connect.c Show resolved Hide resolved
Earlier if CURLOPT_LOCALPORT + CURLOPT_LOCALPORTRANGE would go past
port 65535 the code would fall back to random port rather than giving
up.
@bagder
Copy link
Member

@bagder bagder commented May 17, 2022

Thanks!

@bagder bagder closed this in 1b3dcae May 17, 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.

None yet

2 participants