summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorPeter Ballard <peter.ballard@isode.com>2015-07-20 13:44:28 (GMT)
committerNick Hudson <nick.hudson@isode.com>2015-07-28 16:14:55 (GMT)
commite0c9b2b7b40743ec4f5f1dd5bc1eaf0e815ed72e (patch)
treebb763921849b66411cc6b26c9ef71d11ea8bd785 /test
parent251813ccca9404d8d4122b2848f9fec86a451bf5 (diff)
downloadstroke-e0c9b2b7b40743ec4f5f1dd5bc1eaf0e815ed72e.zip
stroke-e0c9b2b7b40743ec4f5f1dd5bc1eaf0e815ed72e.tar.bz2
Fixed CancelledKeyException in JavaConnection
If synchroniseReads was enabled then if was possible for CancelledKeyExceptions to occur if the channel closed, whilst data was being procsessed on the event loop. I have also made the selectorKey_ reference volatile as this is used by both threads since my previous change 1afab8c1f2c417b08371bc12569e03171851d785 Change-Id: I48edcab9ef090b8a4561331d6aecc7f95cb8924d
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions