[rt.cpan.org 87922] Don't crash when ClientPreConnect returns undef.
authorJoseph Huckaby <jhuckaby@gmail.com>
Mon, 19 Aug 2013 05:04:45 +0000 (01:04 -0400)
committerRocco Caputo <rcaputo@cpan.org>
Mon, 19 Aug 2013 05:04:45 +0000 (01:04 -0400)
commitbcf5d4451637bab12a2c20ccbc028d042323389b
tree7e532a03f6b4da878dd15167069bd06228738318
parentf42a26db921db2bbbb951a1becd02800d8ceb2d2
[rt.cpan.org 87922] Don't crash when ClientPreConnect returns undef.

ClientPreConnect should be allowed to return an undefined value to
abort the client connection.  Instead, it caused PoCo::Server::TCP to
crash.  This change catches that condition.
lib/POE/Component/Server/TCP.pm