Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix on_sample_lost notification on best-effort readers for fragmented…
… samples (#4187) (#4607) * Handle errors when setting socket buffer sizes (#4760) (#4795) * Refs #20972. Move code into new private methods. Signed-off-by: Miguel Company <[email protected]> * Refs #20972. Refactor on configure_send_buffer_size. Signed-off-by: Miguel Company <[email protected]> * Refs #20972. Refactor on configure_receive_buffer_size. Signed-off-by: Miguel Company <[email protected]> * Refs #20972. Check user configuration at the beginning of init method. Signed-off-by: Miguel Company <[email protected]> * Refs #20972. Use maxMessageSize as minimum possible value. Signed-off-by: Miguel Company <[email protected]> * Refs #20972. Applying changes on OpenAndBindUnicastOutputSocket. Signed-off-by: Miguel Company <[email protected]> * Refs #20972. Add helper header with template method. Signed-off-by: Miguel Company <[email protected]> * Refs #20972. Configure methods return boolean. Signed-off-by: Miguel Company <[email protected]> * Refs #20972. Configure methods use new template method. Signed-off-by: Miguel Company <[email protected]> * Refs #20972. OpenAndBindUnicastOutputSocket uses new template method. Signed-off-by: Miguel Company <[email protected]> * Refs #20972. Changes in OpenAndBindInputSocket. Signed-off-by: Miguel Company <[email protected]> * Refs #20972.Setting options on TCP channels. Signed-off-by: Miguel Company <[email protected]> * Refs #20972. Doxygen. Signed-off-by: Miguel Company <[email protected]> * Refs #20972. Check limits of configured sizes. Signed-off-by: Miguel Company <[email protected]> * Refs #20972. Add UDP unit tests. Signed-off-by: Miguel Company <[email protected]> * Refs #20972. Add TCP unit tests. Signed-off-by: Miguel Company <[email protected]> * Refs #20972. Move checks in TCP to beginning of init. Signed-off-by: Miguel Company <[email protected]> * Refs #20972. Refactor for common code in UDP. Signed-off-by: Miguel Company <[email protected]> * Refs #20972. Refactor for common code in TCP. Signed-off-by: Miguel Company <[email protected]> * Refs #20972. Remove unused constants in UDP tests. Signed-off-by: Miguel Company <[email protected]> * Refs #20972. Check final configuration on unit tests. Signed-off-by: Miguel Company <[email protected]> * Refs #20972. Uncrustify. Signed-off-by: Miguel Company <[email protected]> * Refs #20972. Less strict tests. Signed-off-by: Miguel Company <[email protected]> * Refs #20972. Remove `s_minimumSocketBuffer` from tests. Signed-off-by: Miguel Company <[email protected]> * Refs #20972. Deprecate `s_minimumSocketBuffer`. Signed-off-by: Miguel Company <[email protected]> Signed-off-by: Miguel Company <[email protected]> --------- Signed-off-by: Miguel Company <[email protected]> Signed-off-by: Miguel Company <[email protected]> Co-authored-by: Miguel Company <[email protected]> (cherry picked from commit 532acfa) * Fix conflicts Signed-off-by: Miguel Company <[email protected]> * Fix on_sample_lost notification on best-effort readers for fragmented samples (#4187) * Refs #20162. Regression test. Signed-off-by: Miguel Company <[email protected]> * Refs #20162. Notify sample lost when dropping fragmented change. Signed-off-by: Miguel Company <[email protected]> * Refs #20167. Linters. Signed-off-by: Miguel Company <[email protected]> * Refs #20162. Apply suggestions. Signed-off-by: Miguel Company <[email protected]> * Refs #20162. Use constexpr for buffer size. Signed-off-by: Miguel Company <[email protected]> * Refs #20162. Lower buffer size. Signed-off-by: Miguel Company <[email protected]> * Refs #20351. Uncrustify. Signed-off-by: Miguel Company <[email protected]> --------- Signed-off-by: Miguel Company <[email protected]> (cherry picked from commit 5ac198e) * Make sample_lost_be_dw_be_dr_fragments test less flaky (#4620) * Refs #20692. Make sample_lost_be_dw_be_dr_fragments test less flakey. Signed-off-by: Miguel Company <[email protected]> * Refs #20692. Uncrustify. Signed-off-by: Miguel Company <[email protected]> --------- Signed-off-by: Miguel Company <[email protected]> * Improve test. Signed-off-by: Miguel Company <[email protected]> --------- Signed-off-by: Miguel Company <[email protected]> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> Co-authored-by: Miguel Company <[email protected]>
- Loading branch information