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

Correct the string for IPv4 local/remote endpoints #207

Merged
merged 1 commit into from
May 7, 2017

Conversation

clrusby
Copy link
Contributor

@clrusby clrusby commented Apr 28, 2017

Currently there is no colon between the IPv4 hostname and port in the string returned by get_local_endpoint and get_remote_endpoint - i.e. the string looks like this 127.0.0.180. This change modifies the code so the string is correctly returned as 127.0.0.1:80.

@ben-crowhurst
Copy link
Member

Huh, odd. I have memories of fixing this issue previously. I'll create a regression test and then merge the PR. Thanks for your work.

@ben-crowhurst ben-crowhurst self-requested a review May 7, 2017 03:27
@ben-crowhurst ben-crowhurst self-assigned this May 7, 2017
@ben-crowhurst ben-crowhurst added this to the 4.6 milestone May 7, 2017
@ben-crowhurst
Copy link
Member

ben-crowhurst commented May 7, 2017

OK so yes I do indeed recall fixing this issue. however, I only resolved the fault for IPv6 👎.

@ben-crowhurst ben-crowhurst merged commit b991616 into Corvusoft:master May 7, 2017
fadedreamz pushed a commit to fadedreamz/restbed that referenced this pull request Nov 3, 2017
clrusby pushed a commit to clrusby/restbed that referenced this pull request Jul 27, 2018
maggu2810 pushed a commit to maggu2810/restbed that referenced this pull request Mar 14, 2022
Correct the string for IPv4 local/remote endpoints
maggu2810 pushed a commit to maggu2810/restbed that referenced this pull request Mar 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants