Implement HAPROXY proto support

This commit is contained in:
2023-10-12 21:29:02 +11:00
parent c8ab8d3db3
commit a7e8cc7568
3 changed files with 98 additions and 1 deletions

View File

@@ -128,8 +128,9 @@ final class SocketServer {
try {
$r = new SocketClient($accept);
} catch (\ErrorException $e) {
} catch (\Exception $e) {
Log::error(sprintf('%s:! Creating Socket client failed? [%s]',self::LOGKEY,$e->getMessage()));
socket_close($accept);
continue;
}