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

Don't kill the NiceDataLoop when no packets are available. #109

Merged
merged 1 commit into from
May 12, 2014
Merged

Don't kill the NiceDataLoop when no packets are available. #109

merged 1 commit into from
May 12, 2014

Conversation

byronclark
Copy link
Contributor

It's entirely possible that the timed_wait in NiceConnection::getPacket
fires before we get any data on the NiceConnection. When that happens,
we don't want to kill the thread passing data on to the DtlsTransport.

It's entirely possible that the timed_wait in NiceConnection::getPacket
fires before we get any data on the NiceConnection. When that happens,
we don't want to kill the thread passing data on to the DtlsTransport.
@byronclark
Copy link
Contributor Author

Without this fix, DTLS negotiation is never finishing in my local test environment.

@jnoring
Copy link

jnoring commented May 12, 2014

++

lodoyun added a commit that referenced this pull request May 12, 2014
Don't kill the NiceDataLoop when no packets are available.
@lodoyun lodoyun merged commit 5357df7 into lynckia:master May 12, 2014
@byronclark byronclark deleted the dtls-nice-startup-race branch July 16, 2015 02:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants