mirror of
https://github.com/i2p/i2p.i2p.git
synced 2026-10-27 01:32:46 +00:00
NTCP: Fix clearing of write interest ops at
inbound establishment, causing latency on first message (ticket #2237)
This commit is contained in:
1 parent
aa98e540e0
commit
da5de2fd4a
3 files changed
+6
-2
No files matched your search
@@ -1,3 +1,7 @@
|
||||
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");
|
||||
|
||||
Reference in new issue
Block a user