Commit 3f201ab0 authored by jan.koester's avatar jan.koester
Browse files

test

parent ed821bdc
Loading
Loading
Loading
Loading
+1 −1
Changes for src/event/kqueue.cpp: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -170,7 +170,6 @@ namespace netplus {
        };

void ConnectEventHandler(int pos, const int tid, ULONG_PTR args)  {
            std::lock_guard<std::mutex> global_lock(POLL_HANDLER_MUTEX);
            NetException exception;

            // DRAIN THE LISTEN QUEUE: Loop to accept all waiting connections.
@@ -234,6 +233,7 @@ void ConnectEventHandler(int pos, const int tid, ULONG_PTR args) {

                ccon->lasteventime = time(nullptr);

                std::lock_guard<std::mutex> global_lock(POLL_HANDLER_MUTEX);
                // Register client socket with kqueue for read events
                struct kevent setevent {};
                setevent.udata = ccon.get();