-
Type: Improvement
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Networking
-
None
-
Minor Change
The HostAndPort(String) constructor parses and throws an exception on error. Sometimes, it is helpful to get back a status, instead. Implement StatusWith<HostAndPort> HostAndPort::parse(const StringData&) to provide this behavior.