Commit 00e3338e authored by jan.koester's avatar jan.koester
Browse files

test

parent a5ec0aa3
Loading
Loading
Loading
Loading
+1 −8
Original line number Diff line number Diff line
@@ -3004,14 +3004,7 @@ namespace netplus {
            size_t remaining = send_record.size() - send_off;
            buffer raw_buf((const char*)(send_record.data() + send_off), remaining);

            size_t sent;
            try {
                sent = _socket->sendRaw(raw_buf, 0);
            } catch (NetException& e) {
                if (e.getErrorType() == NetException::Note)
                    return;  // Socket busy (e.g. IOCP write pending), records stay queued
                throw;
            }
            size_t sent = _socket->sendRaw(raw_buf, 0);
            send_off += sent;

            if (send_off < send_record.size()) {