Describe the bug
Alright, I've figured it out! This bug specifically occurs when anything .awaits a Discord request, and the IO handler restarts for whatever reason. The awaits hang perpetually.
To Reproduce
Steps to reproduce the behavior:
Write some code which does the following:
Connects to discord
Sends a periodical request of some kind, I've been using activity updates.
Make sure it logs when it does, or in some way shows that it's running
Run it with Discord open
Kill discord and reopen it
Note how the logging suddenly pauses
Expected behavior
For an error to be returned, or, ideally, the request to be transparently resent in some way.
Describe the bug Alright, I've figured it out! This bug specifically occurs when anything
.await
s aDiscord
request, and the IO handler restarts for whatever reason. Theawait
s hang perpetually.To Reproduce Steps to reproduce the behavior:
Expected behavior For an error to be returned, or, ideally, the request to be transparently resent in some way.
Device: ArchLinux, kernel 6.1.19, rustc 1.66.0-nightly