Dinnerbone / mcstatus

A Python class for checking the status of an enabled Minecraft server
http://dinnerbone.com/minecraft/tools/status/
1.11k stars 146 forks source link

timeout bedrock status comms #154

Closed MeRuslan closed 3 years ago

MeRuslan commented 3 years ago

BedrockServerStatus.read_status_async() does not handle properly the case of a server hanging, this PR simply adds asyncio.wait_for(.., timeout=...) wrapper in a few places.