Fix listening on literal IPv6 address
Those contain colons, so splitting by colons would break the address in the middle. Instead, use a regular expression to split host and port at the last colon, if followed by port digits and the end of the string. Also, document the syntax for listening on literal IPv4 and IPv6 addresses.pull/16/head
parent
24f3196a61
commit
066fe276eb
Loading…
Reference in New Issue