Commited Tue. December 01, 2009 at 04:49:00 PM EDT
Fixing crashing bug when network callback causes modifications to socket list, thereby invalidating iterators
Solution is to set a flag when list is modified, so poll loop can detect when it has been invalidated and restart.