Share dialback port on Connect in the gateway
Created by: VoidingWarranties
The gateway now shares a port that you can dial it back on when it connects to you. Consequently, inbound peers are now identified by this dialback port instead of conn.RemoteAddr()
. Therefore conn.RemoteAddr()
should no longer be used to call an RPC from within an RPC.