Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(iroh-relay): Respect
enable_stun
setting in iroh-relay::Config
(
#2879) ## Description Previously, the `Config::enable_stun` value was written but never read, so you couldn't actually disable stun using your iroh config. ## Breaking Changes - For anyone deploying their relay server: The relay server now *actually* respects the `enable_stun` config value. If you set it to `false` previously, that did not have an effect, but now *will* have an effect. ## Notes & Open Questions LMK if you hate my `Option::filter` fuckery :P ## Change checklist - [x] Self-review. - ~~[ ] Documentation updates following the [style guide](https://rust-lang.github.io/rfcs/1574-more-api-documentation-conventions.html#appendix-a-full-conventions-text), if relevant.~~ - ~~[ ] Tests if relevant.~~ - [x] All breaking changes documented.
- Loading branch information