Commit 3e72d4c
authored
fix(upnp): panic with "mapping should exist"
closes #6377
This PR splits the `mappings` field into `mappings`, `add_requests`, and `remove_requests` to manage port mappings and in-flight request tracking in separate data structures.
The `network_interface_change` and `listener_with_multiple_addresses` tests added in this PR reproduce the issue described in #6377, and both now pass after the fix.
Pull-Request: #6459.1 parent 7453e47 commit 3e72d4c
2 files changed
Lines changed: 622 additions & 244 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
6 | 10 | | |
7 | 11 | | |
8 | 12 | | |
| |||
0 commit comments