forked from I2P_Developers/i2p.i2p
NTCP: Loop in pumper if more to write (ticket #2440)
This commit is contained in:
@ -753,7 +753,7 @@ class EventPumper implements Runnable {
|
|||||||
} else if (buf.remaining() > 0) {
|
} else if (buf.remaining() > 0) {
|
||||||
// stay interested
|
// stay interested
|
||||||
//key.interestOps(key.interestOps() | SelectionKey.OP_WRITE);
|
//key.interestOps(key.interestOps() | SelectionKey.OP_WRITE);
|
||||||
break;
|
continue;
|
||||||
} else {
|
} else {
|
||||||
con.removeWriteBuf(buf);
|
con.removeWriteBuf(buf);
|
||||||
//if (buffer time is too much, add OP_WRITe to the interest ops and break?)
|
//if (buffer time is too much, add OP_WRITe to the interest ops and break?)
|
||||||
|
Reference in New Issue
Block a user