[core][BUG] Group connection errors are reported misleadingly #1415
Labels
[core]
Area: Changes in SRT library core
Priority: High
Type: Bug
Indicates an unexpected problem or unintended behavior
Milestone
The group connections, regardless if made through
srt_connect_group
orsrt_connect
, do not report properly connection errors for individual sockets, this way making the connection errors impossible to properly report.The problem is that all of the calls resolve to
CUDTUnited::groupConnect
that potentially can make multiple connections at once, each one being potentially able to fail by different reason.There is also the matter of the stage of errors: some errors appear at the preparation stage, in which case for a single socket they are reported immediately, and the runtime stage, in case when the preparation succeeded and the process continues in background, where it may only be reported through the error event on epoll.
A method of recording the socket connection failure should be provided somehow with a possibility to report it through an array, and it is also desired that the error for one socket failure is available somehow, including rejection reason.
The text was updated successfully, but these errors were encountered: