Changeset da5de2f for router


Ignore:
Timestamp:
Jun 13, 2018 10:42:53 AM (2 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
b1541db
Parents:
aa98e54
Message:

NTCP: Fix clearing of write interest ops at
inbound establishment, causing latency on first message
(ticket #2237)

Location:
router/java/src/net/i2p/router
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • router/java/src/net/i2p/router/RouterVersion.java

    raa98e54 rda5de2f  
    1919    public final static String ID = "Monotone";
    2020    public final static String VERSION = CoreVersion.VERSION;
    21     public final static long BUILD = 18;
     21    public final static long BUILD = 19;
    2222
    2323    /** for example "-test" */
  • router/java/src/net/i2p/router/transport/ntcp/NTCPConnection.java

    raa98e54 rda5de2f  
    680680     */
    681681    public void outboundConnected() {
    682         _conKey.interestOps(SelectionKey.OP_READ);
     682        _conKey.interestOps(_conKey.interestOps() | SelectionKey.OP_READ);
    683683        // schedule up the beginning of our handshaking by calling prepareNextWrite on the
    684684        // writer thread pool
Note: See TracChangeset for help on using the changeset viewer.