I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit da5de2fd authored by zzz's avatar zzz
Browse files

NTCP: Fix clearing of write interest ops at

inbound establishment, causing latency on first message
(ticket #2237)
parent aa98e540
No related branches found
No related tags found
No related merge requests found
2018-06-13 zzz
* NTCP: Fix clearing of write interest ops on
inbound establishment (ticket #2237)
2018-06-09 zzz
* eepsite: Fix up help page in prep for translation (ticket #2214)
* i2psnark: Fix torrent ignoring priority settings when
......
......@@ -18,7 +18,7 @@ public class RouterVersion {
/** deprecated */
public final static String ID = "Monotone";
public final static String VERSION = CoreVersion.VERSION;
public final static long BUILD = 18;
public final static long BUILD = 19;
/** for example "-test" */
public final static String EXTRA = "";
......
......@@ -679,7 +679,7 @@ public class NTCPConnection implements Closeable {
* as it occurs in the selector thread)
*/
public void outboundConnected() {
_conKey.interestOps(SelectionKey.OP_READ);
_conKey.interestOps(_conKey.interestOps() | SelectionKey.OP_READ);
// schedule up the beginning of our handshaking by calling prepareNextWrite on the
// writer thread pool
_transport.getWriter().wantsWrite(this, "outbound connected");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment