Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Unhinged/Engine/UnhingedEngine.Worker.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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

Expand Down
6 changes: 3 additions & 3 deletions Unhinged/Unhinged.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
<Authors>Diogo Martins</Authors>
<RepositoryUrl>https://github.com/MDA2AV/Unhinged</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<AssemblyVersion>9.0.5</AssemblyVersion>
<FileVersion>9.0.5</FileVersion>
<Version>9.0.5</Version>
<AssemblyVersion>9.0.6</AssemblyVersion>
<FileVersion>9.0.6</FileVersion>
<Version>9.0.6</Version>
<PackageReadmeFile>README.md</PackageReadmeFile>
<PackageTags>Unhinged</PackageTags>
<PackageLicenseFile>LICENSE</PackageLicenseFile>
Expand Down
Loading