Suwayomi / Suwayomi-Server

A rewrite of Tachiyomi for the Desktop
Mozilla Public License 2.0
3.84k stars 198 forks source link

Cleanup gql subscription session state correctly #859

Closed schroda closed 6 months ago

schroda commented 6 months ago

In case a socket got disconnected, the session state of the subscriptions did not get correctly cleaned up. The active operations did get closed but not removed and thus, when the client tried to reconnect, the server incorrectly detected an active subscription for an operation and immediately terminated the subscription.