From 9faf67ca43c3ad8bb700dc6df75ba6fe2b663475 Mon Sep 17 00:00:00 2001 From: Diogo Martins Date: Thu, 6 Nov 2025 17:01:45 +0000 Subject: [PATCH] 9.0.6 --- Unhinged/Engine/UnhingedEngine.Worker.cs | 6 +++--- Unhinged/Unhinged.csproj | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Unhinged/Engine/UnhingedEngine.Worker.cs b/Unhinged/Engine/UnhingedEngine.Worker.cs index 117b9f2..3568c2d 100644 --- a/Unhinged/Engine/UnhingedEngine.Worker.cs +++ b/Unhinged/Engine/UnhingedEngine.Worker.cs @@ -86,7 +86,7 @@ private static unsafe void WorkerLoop(Worker W) { // We care about readable input and remote half-close; errors/hups too. byte* ev = stackalloc byte[EvSize]; - WriteEpollEvent(ev, EPOLLIN | EPOLLRDHUP | EPOLLERR | EPOLLHUP, cfd); + WriteEpollEvent(ev, EPOLLIN | EPOLLRDHUP | EPOLLERR | EPOLLHUP | EPOLLET, cfd); epoll_ctl(W.Ep, EPOLL_CTL_ADD, cfd, (IntPtr)ev); // Adding a new connection to the pool, setting the file descriptor for the client socket @@ -139,8 +139,8 @@ private static unsafe void WorkerLoop(Worker W) // TODO: Which one, continue or break? break avoids an extra read to get a EAGAIN // TODO: But continue may read more data without the need of an extra epoll event - //continue; - break; + continue; + //break; } if (got == 0) { CloseConn(fd, connections, W); break; } // peer closed diff --git a/Unhinged/Unhinged.csproj b/Unhinged/Unhinged.csproj index 790b042..3982ca6 100644 --- a/Unhinged/Unhinged.csproj +++ b/Unhinged/Unhinged.csproj @@ -10,9 +10,9 @@ Diogo Martins https://github.com/MDA2AV/Unhinged git - 9.0.5 - 9.0.5 - 9.0.5 + 9.0.6 + 9.0.6 + 9.0.6 README.md Unhinged LICENSE