simulacre/pry-remote-em — Issue #23: Client connection fails when server started with ip of 0.0.0.0
Author: simulacre
Created: 2012-02-04 08:34:02+00:00
State: open
Labels: bug

The client calls get_peername to print out a nice banner when the connection is estabilished. It confirms that get_peername returns a truthy value first. If a truthy value is not returned then it assumes the connection failed. This is incorrect behavior because get_peername can return falsy even when the connection was successful.