Skip to content

Commit

Permalink
fixed bug on epoll version with big files
Browse files Browse the repository at this point in the history
  • Loading branch information
trikko committed May 14, 2024
1 parent 1517fbb commit ec8d60e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion source/serverino/common.d
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ alias CoarseTime = MonoTimeImpl!(ClockType.coarse);
// Serverino version
public static int SERVERINO_MAJOR = 0;
public static int SERVERINO_MINOR = 7;
public static int SERVERINO_REVISION = 5;
public static int SERVERINO_REVISION = 6;

// Struct WorkerPayload is used to pass data from the worker to the daemon
// It is prepended to the actual response payload
Expand Down
2 changes: 1 addition & 1 deletion source/serverino/daemon.d
Original file line number Diff line number Diff line change
Expand Up @@ -751,7 +751,7 @@ package:
void epollAddSocket(Socket s, int events, void* ptr)
{
epoll_event evt;
evt.events = EPOLLIN;
evt.events = events;
evt.data.ptr = ptr;

auto res = epoll_ctl(epoll, EPOLL_CTL_ADD, s.handle, &evt);
Expand Down

0 comments on commit ec8d60e

Please sign in to comment.