Skip to content

Add UPnP renew and refactoring#3171

Merged
hwangsihu merged 2 commits intomasterfrom
upnp-retry
Mar 28, 2026
Merged

Add UPnP renew and refactoring#3171
hwangsihu merged 2 commits intomasterfrom
upnp-retry

Conversation

@hwangsihu
Copy link
Copy Markdown
Contributor

Fixes an issue where the server would need to be restarted when the router was restarted or the network connection changed

@hwangsihu hwangsihu requested a review from bear101 as a code owner March 10, 2026 12:36
Copy link
Copy Markdown
Contributor

@bear101 bear101 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

UPnP_AddPortMapping and UPnP_RenewPortMapping contains duplicate code. Only UPnP_RenewPortMapping should call UPNP_AddPortMapping

Fixes an issue where the server would need to be restarted when the router was restarted or the network connection changed
Refactored UPnP state variables.
@hwangsihu hwangsihu changed the title Add UPnP renew Add UPnP renew and refactoring Mar 27, 2026
Copy link
Copy Markdown
Contributor

@bear101 bear101 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please squash commits.

@hwangsihu hwangsihu merged commit 732fa01 into master Mar 28, 2026
8 of 13 checks passed
@hwangsihu hwangsihu deleted the upnp-retry branch March 28, 2026 08:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants