Skip to content
Snippets Groups Projects
Commit cafc155d authored by Mohamed Chibani's avatar Mohamed Chibani Committed by Sébastien Blin
Browse files

upnp: always delete released mappings

Currently, a released mapping is not deleted but rather set as
available for future use. However, in some circumstances, the
socket bound to the mapped port may take some time to be completed
closed and ready for reuse. Which means if the mapping is reused
shortly after it was released, the socket binding may fail  on the
mapped port.
To prevent this race, a relased  mapping is always deleted.
Note that in the current implementation, new mapping will be
automatically requested if needed.

Gitlab: #413

Change-Id: I9e6dce912aa14e29050669940b2846038b0a591c
parent 69df745b
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.
Finish editing this message first!
Please register or to comment