Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Gracefully handle connection events where socket.remoteAddress returns undefined #239
Since updating to node.js 0.6/0.8 - I see a handful of connections per day that when setupClient() runs no IP address is returned by socket.remoteAddress. I've no idea what causes this and I've been unable to replicate it manually - but this patch handles this case gracefully.