Skip to content
Snippets Groups Projects
Commit e9a6da65 authored by Mohamed Chibani's avatar Mohamed Chibani
Browse files

upnp: unconditionally remove failed mappings

In the previous implementation, a failed mapping was not removed if it's
beeing used. The responsability was left to the owner to release it when
done with it. This requires that all the owners implement the mapping
callback and properly release the mapping. This might be somehow cumbersome
and prune to error.
Now, a failed mapping is automatically removed, and no further action is
required from the owner. The mapping's owner will still receive a notification
callback (if registered) when the state of the mapping changes to failed (or
to any other state).

Change-Id: I014ba3906b836efce3173fb22fbe298a4023db7e
Gitlab: #335
parent 27504587
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment