Closed romainneutron closed 11 years ago
In the following code, the exit('error'); is never triggered
exit('error');
The bug occurs whenever a process is listening to the port or not.
$loop = React\EventLoop\Factory::create(); $factory = new React\Stomp\Factory($loop); $client = $factory->createClient(array('port' =>80)); $client ->connect() ->then( function () {}, function () { exit("error"); } ); $loop->run();
Fixed by #12.
In the following code, the
exit('error');
is never triggeredThe bug occurs whenever a process is listening to the port or not.