Commit 7f004624 authored by Jordan Breton's avatar Jordan Breton

Msserver bug fix

parent b499230f
......@@ -185,9 +185,16 @@ final class MSServer {
ILogger::LOG
);
while(true){
$socket = socket_accept($this->_socket);
$this->configureSocket($socket);
$this->process($socket);
try{
$socket = socket_accept($this->_socket);
$this->configureSocket($socket);
$this->process($socket);
}catch(\Error | \Exception $e){
$this->_logger->log(
"[MSServer] Unable to accept connection : $e",
ILogger::ERR
);
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment