Commit 810523f2 authored by jan.koester's avatar jan.koester
Browse files

test

parent 516bbddc
Loading
Loading
Loading
Loading
+7
Changes for src/event/kqueue.cpp: 7 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -278,6 +278,13 @@ namespace netplus {
                buffer buf(wcon->SendData.data(),ssize);

                sended = wcon->csock->sendData(buf,0);

                if (sended > ssize) {
                        NetException e;
                        e[NetException::Note] << "WriteEventHandler: Connection aborted during send.";
                        throw e;
                }

                wcon->SendData.resize(sended);

                wcon->lasteventime = time(nullptr);