Closed raffomania closed 3 years ago
Ah yeah. That certainly fixes part of a hole, thank you. This could still have a problem since client checkout doesn't do anything to remove a session once the session becomes empty. I will probably get a solution for that. Also, the server should probably timeout old sessions after a certain time automatically in case the clients fail to send a checkout message.
Anyways, I'll merge this. Thanks again!
Yes, those are good points as well!
Without calling this method, clients wouldn't get cleaned up properly from the holepunch server if they cancel the nat traversal before it is complete.