mirror of
https://github.com/devgianlu/go-librespot.git
synced 2026-04-25 21:05:47 +03:00
[PR #69] [MERGED] fix: delegate starting receiver loops to caller #190
Labels
No labels
bug
enhancement
pull-request
spotify-side
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/go-librespot#190
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/devgianlu/go-librespot/pull/69
Author: @silenium-dev
Created: 8/18/2024
Status: ✅ Merged
Merged: 8/20/2024
Merged by: @devgianlu
Base:
master← Head:master📝 Commits (10+)
3679080feat: start work on exposing Dealer.Connect()236d7cefeat: implement dealer.Connect()ef4802bfeat: move running ping ticker and opening connection from NewAccesspoint() to Accesspoint.Connect()4f80b86feat: move dealer.Connect() out of session, let caller handle it4e6fe9afeat: move running accesspoint.pongAckTicker() to startReceiving()5cfdf6ddebug: add ping-pong trace logging for dealer and accesspointf9f4efefeat: move running dealer.pingTicker() to dealer.startReceiving() and move initializing lastPong to startReceivingb29b1b0fix: reset dealer.lastPong on reconnect, increase pong tardiness interval to pingInterval+timeout668ce4ffix: return immediately from Close() if connection not openf695e05fix: only close conn on receive loop termination when not stopping, remove read lock around recvLoop read📊 Changes
4 files changed (+117 additions, -65 deletions)
View changed files
📝
ap/ap.go(+46 -32)📝
cmd/daemon/player.go(+5 -0)📝
dealer/dealer.go(+58 -28)📝
session/session.go(+8 -5)📄 Description
fixes #68
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.