Commit 330b9ea2 authored by jan.koester's avatar jan.koester
Browse files

new version

parent 1349b668
Loading
Loading
Loading
Loading
+2 −2
Changes for src/linux/event.cpp: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -216,6 +216,7 @@ namespace netplus {
                if(rcvsize>0){
                     rcon->RecvData.append(buf,rcvsize);
                    _evtapi->RequestEvent(rcon);
                    setpollEvents(rcon,EPOLLIN | EPOLLET | EPOLLONESHOT);
                }

                rcon->lasteventime = time(nullptr);
@@ -226,8 +227,7 @@ namespace netplus {
                    return;
                }

                setpollEvents(rcon,EPOLLIN | EPOLLET | EPOLLONESHOT);

                CloseEventHandler(pos);

            }catch(NetException &e){
                if(e.getErrorType()== NetException::Note){