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] refactor Group::recv() base on new rcv buffer to support message mode #2218

Conversation

gou4shi1
Copy link
Contributor

@gou4shi1 gou4shi1 commented Dec 31, 2021

Replace #2046.
Fix #2138 btw.

  • The previous Group::recv() does not support to read a message that across multiple packets.
  • Reduce Group::recv() from 500+ lines to 100+ lines.

@gou4shi1 gou4shi1 marked this pull request as draft December 31, 2021 13:25
@gou4shi1 gou4shi1 force-pushed the fix-group-recv-in-message-mode-part-3 branch 2 times, most recently from ec70494 to 9f6e247 Compare January 4, 2022 06:38
@codecov-commenter

This comment has been minimized.

@gou4shi1 gou4shi1 force-pushed the fix-group-recv-in-message-mode-part-3 branch 3 times, most recently from f77422b to 2660da5 Compare January 4, 2022 14:32
@gou4shi1 gou4shi1 marked this pull request as ready for review January 4, 2022 14:35
@gou4shi1 gou4shi1 force-pushed the fix-group-recv-in-message-mode-part-3 branch 3 times, most recently from 4ff6c62 to aa5c27c Compare January 6, 2022 07:06
@gou4shi1 gou4shi1 force-pushed the fix-group-recv-in-message-mode-part-3 branch from aa5c27c to 762cbe3 Compare January 10, 2022 12:58
@maxsharabayko maxsharabayko added [core] Area: Changes in SRT library core Type: Enhancement Indicates new feature requests labels Feb 7, 2022
@maxsharabayko maxsharabayko added this to the v1.4.5 milestone Feb 7, 2022
@maxsharabayko maxsharabayko merged commit 8f68f61 into Haivision:master Feb 7, 2022
maxsharabayko added a commit to maxsharabayko/srt that referenced this pull request Feb 7, 2022
maxsharabayko added a commit that referenced this pull request Feb 7, 2022
@gou4shi1 gou4shi1 deleted the fix-group-recv-in-message-mode-part-3 branch February 7, 2022 16:49
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: Enhancement Indicates new feature requests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] Group::recv()->srt::CUDT::releaseSynch() caused deadlock
3 participants