Set connection's peer id before looking up handler method.
Otherwise, in the case of an unexpected packet, an incorrect message id would be used. Also, refuse setting a None peer_id on connection.
Showing
Please register or sign in to comment