Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor PortMappingManager libplum implementation, add fallback miniupnpc implementation #4023

Merged
merged 8 commits into from
Aug 10, 2024

Conversation

past-due
Copy link
Member

No description provided.

@past-due past-due added this to the 4.5.2 milestone Jul 23, 2024
@past-due past-due requested a review from ManManson July 23, 2024 16:10
@past-due past-due force-pushed the 2024_07_portmapping_impls_2 branch from ab6cb1d to 535d13e Compare July 23, 2024 16:13
Refactor libPlum implementation
Add miniupnpc implementation as a fallback
@past-due past-due force-pushed the 2024_07_portmapping_impls_2 branch from 535d13e to 3180d80 Compare July 23, 2024 16:41
lib/netplay/port_mapping_manager.h Show resolved Hide resolved
lib/netplay/port_mapping_manager.h Show resolved Hide resolved
lib/netplay/port_mapping_manager.h Show resolved Hide resolved
lib/netplay/port_mapping_manager.h Outdated Show resolved Hide resolved
lib/netplay/port_mapping_manager.h Outdated Show resolved Hide resolved
lib/netplay/port_mapping_manager.h Outdated Show resolved Hide resolved
lib/netplay/port_mapping_manager.h Show resolved Hide resolved
lib/netplay/port_mapping_manager.h Outdated Show resolved Hide resolved
@past-due
Copy link
Member Author

After additional discussion, will keep shared_ptr usage, due to reasons including:

  • Shared ownership of the implementation between requests (including successful requests) and the PortMappingManager
  • Exposure outside of the translation unit (via the PortMappingAsyncRequestHandles)

@past-due past-due merged commit e798c8f into Warzone2100:master Aug 10, 2024
37 checks passed
@past-due past-due deleted the 2024_07_portmapping_impls_2 branch August 10, 2024 19:25
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