Menu

#19 Added a method to close session on specific n/w interface

1.0
wont-fix
None
2015-08-27
2015-04-06
No

Added a method, dtls_close_interface, to enable closing session on specific network interface. Consider a case where server is connected over ethernet with client1 and over wifi with client2. If server losses wifi connection then it needs to close session with client2 but should not close sessions with client1. To enable this behavior needed a method that closes session with the peer based on the network interface type.

1 Attachments

Discussion

  • Sachin

    Sachin - 2015-04-09

    On a device with multiple interfaces, if graceful shutdown happens on a specific interface, application should enable tinydtls to send 'Close Notify' alert message to all the peers available on that interface.
    A new method has been added which traverse through the list of available peers and invokes 'dtls_destroy_peer' on them if they are on that specific interface.

     
  • Sachin

    Sachin - 2015-06-08

    After some analysis and discussion, it was deciced that Iotivity stack should not manage the lifetime of IP interfaces and therefore there is no need of this change anymore.
    Can we close this ticket?

     
  • Olaf Bergmann

    Olaf Bergmann - 2015-08-27

    Closed on request of the ticket creator.

     
  • Olaf Bergmann

    Olaf Bergmann - 2015-08-27
    • status: open --> wont-fix