Join GitHub today
Resolve peer address before assigning it's IP to member #1634
The previous behavour of a peer binding would not resolve a dns entry before trying to unwrap a string. This caused a thread panic that would kill the supervisor.
Jan 13, 2017
This fixes the issue, which is great - but the meta-problem was that we panicked on bad input, and this keeps that trend. Before we merge this, we should add an Error class for it, and return that rather than panicking the thread.