Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[core] Fixed clearing errored group in connecting #1683

Merged

Conversation

ethouris
Copy link
Collaborator

The problem:

The group's ERR epoll flag is cleared in the beginning of the group connection, but not IN and ERR flag. This is because IN and OUR could be set otherwise. The problem is that if ERR flag WAS set on the group, then all flags should be cleared, otherwise these flags contain a false information. The IN and OUT flags should not be touched only in case when the ERR flag wasn't set.

@codecov

This comment has been minimized.

srtcore/api.cpp Outdated Show resolved Hide resolved
srtcore/epoll.cpp Show resolved Hide resolved
@maxsharabayko maxsharabayko added [core] Area: Changes in SRT library core Type: Bug Indicates an unexpected problem or unintended behavior labels Dec 1, 2020
@maxsharabayko maxsharabayko added this to the v1.4.3 milestone Dec 1, 2020
@maxsharabayko maxsharabayko merged commit d340f6d into Haivision:master Dec 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[core] Area: Changes in SRT library core Type: Bug Indicates an unexpected problem or unintended behavior
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants