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.