NTCP: Loop in pumper if more to write (ticket #2440)

This commit is contained in:
zzz
2019-02-23 17:06:01 +00:00
parent e1385a71e2
commit 32797dd415

View File

@ -753,7 +753,7 @@ class EventPumper implements Runnable {
} else if (buf.remaining() > 0) {
// stay interested
//key.interestOps(key.interestOps() | SelectionKey.OP_WRITE);
break;
continue;
} else {
con.removeWriteBuf(buf);
//if (buffer time is too much, add OP_WRITe to the interest ops and break?)