rapid7/metasploit-framework — pull request #2413 by jlee-r7 (2013-09-24 00:46:10+00:00)
Title: Get rid of callcc

When a handler is receiving a bunch of connections all at once, sometimes you get deadlock exceptions, causing all manner of trouble.

I'm pretty sure this patch fixes the issue, but it is in core code that hasn't been touched in years, it is critical to session creation, and callcc is inherently kinda weird anyway, so I'd really love some more eyeballs on this.

See https://dev.metasploit.com/redmine/issues/8407