Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • I Icecast-libshout
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 20
    • Issues 20
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 1
    • Merge requests 1
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Xiph.OrgXiph.Org
  • Icecast-libshout
  • Issues
  • #2325
Closed
Open
Issue created 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
Time tracking