-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Description
Whenever enet_address_set_host is called, it performs a DNS lookup, and sometimes (🤡🤡🤡 Roskomnadzor 🤡🤡🤡) lookups take a noticeably long time to finish and because the function is blocking by definition, it locks up the game.
Steps to reproduce
- Literally exist
- Enter an IP address into a server browser
- Click refresh a bunch of times
- Observe the frozen game
Expected behaviour
The game not passing out
Screenshots (optional)
Environment
- Binary source: any
- Operating system: any
- Game version: 15.x.x and older, 16.0.1
Additional context
It has been fixed in Prospero by moving DNS lookups into a coroutine. Might as well do that here and cache the result?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working