Closed LordFlashmeow closed 1 month ago
598 UNKNOWN COMMAND
responses show up instead, but at least the server is ctrl-c
able now.@fearnlj01, tagged you since you made the initial fix, is this something we can also address?
I know how to fix it, theoretically. I just need time
VERSION INFORMATION
Server Version: Daily
DESCRIPTION
_aniDBSocket.ReceiveFromAsync
can hang on network disconnect, blocking the UDP worker. Attempting to ctrl-c the server is ineffective, because the logout process tries to send a UDP logout message (which gets blocked behind the frozen socket).https://github.com/ShokoAnime/ShokoServer/blob/289021ddfa69045155956a7b3d099187d009d3d9/Shoko.Server/Providers/AniDB/UDP/AniDBSocketHandler.cs#L75