Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disconnection or logout can leave pending requests and channels #1

Open
noahwilliamsson opened this issue Aug 9, 2009 · 0 comments

Comments

@noahwilliamsson
Copy link
Owner

When we're disconnected (because of errors or because of logout) there might be several requests that are in a pending state.

  • Login might be processed
  • Playlists might be retrieved
  • Tracks/artists/albums metadata might be retrieved

These requests should either be aborted (if in REQ_STATE_RUNNING) or postponed (in REQ_STATE_NEW).

Otherwise corruption or NULL pointer dereferences might occur due to sp_session::login or sp_session::playlist_ctx being stale

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant