Skip to content
This repository was archived by the owner on May 31, 2025. It is now read-only.

rosgraph/network: use urlparse for parsing the port, whick makes ipv6 possible#1698

Merged
dirk-thomas merged 2 commits intoros:melodic-develfrom
cwecht:rosgraph_ipv6
Apr 15, 2019
Merged

rosgraph/network: use urlparse for parsing the port, whick makes ipv6 possible#1698
dirk-thomas merged 2 commits intoros:melodic-develfrom
cwecht:rosgraph_ipv6

Conversation

@cwecht
Copy link
Copy Markdown
Contributor

@cwecht cwecht commented Apr 15, 2019

This requires python 2.5.

This fixes #1694.

@dirk-thomas
Copy link
Copy Markdown
Member

dirk-thomas commented Apr 15, 2019

Thanks for the patch.

I removed the assert checking the version number since Python versions < 2.7 have been EOL for quite some time. Also the comment wasn't necessary anymore since the condition is not self explaining.

@dirk-thomas dirk-thomas merged commit f5654f5 into ros:melodic-devel Apr 15, 2019
tahsinkose pushed a commit to tahsinkose/ros_comm that referenced this pull request Apr 15, 2019
… possible (ros#1698)

* rosgraph/network: use urlparse for parsing the port, this makes ipv6 possible

* remove unnecessary assert and comment
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

parse_http_host_and_port function does not support IPv6 address

2 participants