Commit 91d439d4 authored by jan.koester's avatar jan.koester
Browse files

teset

parent fa368fb0
Loading
Loading
Loading
Loading
+2 −3
Changes for src/event/iocp.cpp: 2 added lines, 3 removed lines.
Original line number Diff line number Diff line
@@ -241,14 +241,13 @@ namespace netplus {

				client* pClientContext = (client*)lpContext;

                std::lock_guard<std::mutex> lock(pClientContext->cltmtx);

				if (!bReturn && dwBytesTransfered == 0) {
					eargs->evpoll->RemoveFromClientList(pClientContext);
					continue;
				}

				if (!pClientContext->cltmtx.try_lock()) {
					continue;
				}
				try {
					auto& curCon = pClientContext->CurCon;
					if (!curCon->SendData.empty()) {