leshan: Bootstrap Server 2.0.0-M5 upgrade: problem with ConnectionListener
Hi guys.
I’m upgrading the Bootstrap Server from 2.0.0-M4 to 2.0.0-M5. In my server configuration, I have the ConnectionListener registered in DtlsConnectorConfig. My implementation listens to the void onConnectionRemoved(Connection connection) event to handle DTLS connection error.
In version M4 I invoked connection.getSession() and connection.getOngoingHandshake() to gather some detailed information of the DTLS session. However in M5 the both methods return null instead of correct objects.
For me, it looks like a regression. Can you please advise?
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Reactions: 1
- Comments: 19 (9 by maintainers)
I’ve tested Leshan
2.0.0-SNAPSHOTwith Californium3.2.0. Works fine for me.Yep this will done 😃
Oh right, I raised an issue at californium: https://github.com/eclipse/californium/issues/1868
BTW. I also verified that in the official
3.0.0californium version this problem still occurs.