Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
I
Icecast-libshout
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 21
    • Issues 21
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Xiph.Org
  • Icecast-libshout
  • Issues
  • #2325

Closed
Open
Opened Jan 28, 2021 by Daniel Schürmann@daschuer

No connection in nonblocking mode, retry shout_open() fails.

Probably since 2.4.2 and 032aa10d shout_open() returns SHOUTERR_RETRY instead retry until timeout in https://gitlab.xiph.org/xiph/icecast-libshout/-/blob/master/src/connection.c#L464

Unfortunately it is not possible without closing shout to continue the iteration using shout_open(). It fails with SHOUTERR_CONNECTED https://gitlab.xiph.org/xiph/icecast-libshout/-/blob/master/src/shout.c#L185 Calling shout_close() does not fix the issue, because it starts the iteration from the beginning.

Is there another public function that can be called?

In my test 70 loops are required to open the connection.

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: xiph/icecast-libshout#2325