teragrep / rlp_03

Java RELP Server library
GNU Affero General Public License v3.0
1 stars 5 forks source link

investigate client disconnect exception #228

Open kortemik opened 8 hours ago

kortemik commented 8 hours ago

Description while debugging rlp_01 following is seen:

client socket:

open
opened

client send open

connecting

server

see open
acked open

client receive open ack

connected

server

see close
acked close

client closing

closing
closed
tearing
teared

client open socket again

open
opened

client

connecting

server produces

[Thread-1] WARN com.teragrep.net_01.eventloop.EventLoop - Detected unexpectedly closed channel

while the next connection continues

see open
acked open
connected
see close
acked close
closing
closed
tearing
teared

this may be that the client closed before hint frame 0 serverclose 0 was processed.

kortemik commented 8 hours ago

version 9.0.0

kortemik commented 8 hours ago

such warning is produced by CancelledKeyException