mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00

The following format "http://localhost:1234" causes existing port parser to fail. Add new logic to parse the host name first then extract port. Fixes #6409