Loading src/event/iocp.cpp +1 −10 Changes for src/event/iocp.cpp: 1 added line, 10 removed lines. Original line number Diff line number Diff line Loading @@ -251,12 +251,7 @@ namespace netplus { con *curCon = pClientContext->CurCon; switch (pClientContext->State) { case IO_WRITE_STATE: { try { eargs->event->ResponseEvent(*curCon, tid, args); } catch (...) { curCon->SendData.pos = 0; curCon->SendData.clear(); } ULONG ssize = curCon->SendData.size() < BLOCKSIZE ? (ULONG)curCon->SendData.size() : BLOCKSIZE; size_t ret = 0; Loading @@ -283,12 +278,8 @@ namespace netplus { curCon->RecvData.append(buf.data.buf, recv); try{ eargs->event->RequestEvent(*curCon, tid, args); } catch (...){ curCon->RecvData.pos = 0; curCon->RecvData.clear(); } if (!curCon->SendData.empty()) { pClientContext->State = IO_WRITE_STATE; Loading Loading
src/event/iocp.cpp +1 −10 Changes for src/event/iocp.cpp: 1 added line, 10 removed lines. Original line number Diff line number Diff line Loading @@ -251,12 +251,7 @@ namespace netplus { con *curCon = pClientContext->CurCon; switch (pClientContext->State) { case IO_WRITE_STATE: { try { eargs->event->ResponseEvent(*curCon, tid, args); } catch (...) { curCon->SendData.pos = 0; curCon->SendData.clear(); } ULONG ssize = curCon->SendData.size() < BLOCKSIZE ? (ULONG)curCon->SendData.size() : BLOCKSIZE; size_t ret = 0; Loading @@ -283,12 +278,8 @@ namespace netplus { curCon->RecvData.append(buf.data.buf, recv); try{ eargs->event->RequestEvent(*curCon, tid, args); } catch (...){ curCon->RecvData.pos = 0; curCon->RecvData.clear(); } if (!curCon->SendData.empty()) { pClientContext->State = IO_WRITE_STATE; Loading