Opened 4 months ago
Closed 3 months ago
#2777 closed defect (fixed)
NTCP2: terminations not sent
Reported by: | jogger | Owned by: | zzz |
---|---|---|---|
Priority: | minor | Milestone: | 0.9.48 |
Component: | router/transport | Version: | 0.9.47 |
Keywords: | Cc: | ||
Parent Tickets: | Sensitive: | no |
Description
Eventpumper cancels the conkey directly after calling sendTerminationAndClose(). This way the termination is only queued up for writing and never sent, because runDelayedEvents() runs into a CKE.
Subtickets
Change History (6)
comment:1 Changed 4 months ago by
Milestone: | undecided → 0.9.48 |
---|---|
Status: | new → accepted |
comment:2 Changed 4 months ago by
comment:3 Changed 4 months ago by
Verified OP issue:
10/09 xx:40:18.155 INFO [NTCP Pumper ] .transport.ntcp.NTCPConnection: Sending termination, reason: 2, vaild frames rcvd: 1 on NTCP2 conn 38388 to xx port xx DGZzTX created 121s ago, last send 121s ago, last recv 120s ago, sent 3, rcvd 1 10/09 xx:40:18.155 WARN [NTCP Pumper ] ter.transport.ntcp.EventPumper: RDE CKE 2 java.nio.channels.CancelledKeyException at sun.nio.ch.SelectionKeyImpl.ensureValid(SelectionKeyImpl.java:73) at sun.nio.ch.SelectionKeyImpl.interestOps(SelectionKeyImpl.java:77) at net.i2p.router.transport.ntcp.EventPumper.runDelayedEvents(EventPumper.java:829) at net.i2p.router.transport.ntcp.EventPumper.run(EventPumper.java:206) at java.lang.Thread.run(Thread.java:748) at net.i2p.util.I2PThread.run(I2PThread.java:103)
comment:5 Changed 3 months ago by
Resolution: | → fixed |
---|---|
Status: | accepted → closed |
In 5a49144304de3cc26f415b54691d42b38a323ca5 to be 0.9.47-7
comment:6 Changed 3 months ago by
Resolution: | → fixed |
---|---|
Status: | accepted → closed |
In 5a49144304de3cc26f415b54691d42b38a323ca5 to be 0.9.47-7
Note: See
TracTickets for help on using
tickets.
something like this maybe? untested: