This PR bumps dtls2 to version 0.11.0 which solves a problem that could occur if the use of PSK ciphers suites was indicated with no PSK callback defined. In this case (e.g., in the get_resource_secure example when commenting out the callback argument) a segmentation fault could occur with not further information. The new version fixes this problem.
To be able to properly handle all exceptions that can occur during the connection establishment, the on clause now captures all Exception objects, closes the client, and rethrows them.
This PR bumps
dtls2
to version 0.11.0 which solves a problem that could occur if the use of PSK ciphers suites was indicated with no PSK callback defined. In this case (e.g., in theget_resource_secure
example when commenting out the callback argument) a segmentation fault could occur with not further information. The new version fixes this problem.To be able to properly handle all exceptions that can occur during the connection establishment, the
on
clause now captures allException
objects, closes the client, and rethrows them.