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

[21036] Handle errors when setting socket buffer sizes (backport #4760) #4795

Merged
merged 25 commits into from
May 17, 2024

Commits on May 16, 2024

  1. Refs #20972. Move code into new private methods.

    Signed-off-by: Miguel Company <miguelcompany@eprosima.com>
    MiguelCompany committed May 16, 2024
    Configuration menu
    Copy the full SHA
    5961e4f View commit details
    Browse the repository at this point in the history
  2. Refs #20972. Refactor on configure_send_buffer_size.

    Signed-off-by: Miguel Company <miguelcompany@eprosima.com>
    MiguelCompany committed May 16, 2024
    Configuration menu
    Copy the full SHA
    6796720 View commit details
    Browse the repository at this point in the history
  3. Refs #20972. Refactor on configure_receive_buffer_size.

    Signed-off-by: Miguel Company <miguelcompany@eprosima.com>
    MiguelCompany committed May 16, 2024
    Configuration menu
    Copy the full SHA
    6395907 View commit details
    Browse the repository at this point in the history
  4. Refs #20972. Check user configuration at the beginning of init method.

    Signed-off-by: Miguel Company <miguelcompany@eprosima.com>
    MiguelCompany committed May 16, 2024
    Configuration menu
    Copy the full SHA
    c2a39b6 View commit details
    Browse the repository at this point in the history
  5. Refs #20972. Use maxMessageSize as minimum possible value.

    Signed-off-by: Miguel Company <miguelcompany@eprosima.com>
    MiguelCompany committed May 16, 2024
    Configuration menu
    Copy the full SHA
    a468693 View commit details
    Browse the repository at this point in the history
  6. Refs #20972. Applying changes on OpenAndBindUnicastOutputSocket.

    Signed-off-by: Miguel Company <miguelcompany@eprosima.com>
    MiguelCompany committed May 16, 2024
    Configuration menu
    Copy the full SHA
    9edfd2a View commit details
    Browse the repository at this point in the history
  7. Refs #20972. Add helper header with template method.

    Signed-off-by: Miguel Company <miguelcompany@eprosima.com>
    MiguelCompany committed May 16, 2024
    Configuration menu
    Copy the full SHA
    defef4d View commit details
    Browse the repository at this point in the history
  8. Refs #20972. Configure methods return boolean.

    Signed-off-by: Miguel Company <miguelcompany@eprosima.com>
    MiguelCompany committed May 16, 2024
    Configuration menu
    Copy the full SHA
    058dd6f View commit details
    Browse the repository at this point in the history
  9. Refs #20972. Configure methods use new template method.

    Signed-off-by: Miguel Company <miguelcompany@eprosima.com>
    MiguelCompany committed May 16, 2024
    Configuration menu
    Copy the full SHA
    bfad614 View commit details
    Browse the repository at this point in the history
  10. Refs #20972. OpenAndBindUnicastOutputSocket uses new template method.

    Signed-off-by: Miguel Company <miguelcompany@eprosima.com>
    MiguelCompany committed May 16, 2024
    Configuration menu
    Copy the full SHA
    c0e9e68 View commit details
    Browse the repository at this point in the history
  11. Refs #20972. Changes in OpenAndBindInputSocket.

    Signed-off-by: Miguel Company <miguelcompany@eprosima.com>
    MiguelCompany committed May 16, 2024
    Configuration menu
    Copy the full SHA
    acd3d6e View commit details
    Browse the repository at this point in the history
  12. Refs #20972.Setting options on TCP channels.

    Signed-off-by: Miguel Company <miguelcompany@eprosima.com>
    MiguelCompany committed May 16, 2024
    Configuration menu
    Copy the full SHA
    321e8c6 View commit details
    Browse the repository at this point in the history
  13. Refs #20972. Doxygen.

    Signed-off-by: Miguel Company <miguelcompany@eprosima.com>
    MiguelCompany committed May 16, 2024
    Configuration menu
    Copy the full SHA
    1a83532 View commit details
    Browse the repository at this point in the history
  14. Refs #20972. Check limits of configured sizes.

    Signed-off-by: Miguel Company <miguelcompany@eprosima.com>
    MiguelCompany committed May 16, 2024
    Configuration menu
    Copy the full SHA
    bba9cb2 View commit details
    Browse the repository at this point in the history
  15. Refs #20972. Add UDP unit tests.

    Signed-off-by: Miguel Company <miguelcompany@eprosima.com>
    MiguelCompany committed May 16, 2024
    Configuration menu
    Copy the full SHA
    0061620 View commit details
    Browse the repository at this point in the history
  16. Refs #20972. Add TCP unit tests.

    Signed-off-by: Miguel Company <miguelcompany@eprosima.com>
    MiguelCompany committed May 16, 2024
    Configuration menu
    Copy the full SHA
    f3049ff View commit details
    Browse the repository at this point in the history
  17. Refs #20972. Move checks in TCP to beginning of init.

    Signed-off-by: Miguel Company <miguelcompany@eprosima.com>
    MiguelCompany committed May 16, 2024
    Configuration menu
    Copy the full SHA
    d2e6926 View commit details
    Browse the repository at this point in the history
  18. Refs #20972. Refactor for common code in UDP.

    Signed-off-by: Miguel Company <miguelcompany@eprosima.com>
    MiguelCompany committed May 16, 2024
    Configuration menu
    Copy the full SHA
    08c6dc2 View commit details
    Browse the repository at this point in the history
  19. Refs #20972. Refactor for common code in TCP.

    Signed-off-by: Miguel Company <miguelcompany@eprosima.com>
    MiguelCompany committed May 16, 2024
    Configuration menu
    Copy the full SHA
    26eb529 View commit details
    Browse the repository at this point in the history
  20. Refs #20972. Remove unused constants in UDP tests.

    Signed-off-by: Miguel Company <miguelcompany@eprosima.com>
    MiguelCompany committed May 16, 2024
    Configuration menu
    Copy the full SHA
    523c9bf View commit details
    Browse the repository at this point in the history
  21. Refs #20972. Check final configuration on unit tests.

    Signed-off-by: Miguel Company <miguelcompany@eprosima.com>
    MiguelCompany committed May 16, 2024
    Configuration menu
    Copy the full SHA
    918a29b View commit details
    Browse the repository at this point in the history
  22. Refs #20972. Uncrustify.

    Signed-off-by: Miguel Company <miguelcompany@eprosima.com>
    MiguelCompany committed May 16, 2024
    Configuration menu
    Copy the full SHA
    d3e9d1d View commit details
    Browse the repository at this point in the history
  23. Refs #20972. Less strict tests.

    Signed-off-by: Miguel Company <miguelcompany@eprosima.com>
    MiguelCompany committed May 16, 2024
    Configuration menu
    Copy the full SHA
    267c6e2 View commit details
    Browse the repository at this point in the history
  24. Refs #20972. Remove s_minimumSocketBuffer from tests.

    Signed-off-by: Miguel Company <miguelcompany@eprosima.com>
    MiguelCompany committed May 16, 2024
    Configuration menu
    Copy the full SHA
    3afe94b View commit details
    Browse the repository at this point in the history
  25. Refs #20972. Deprecate s_minimumSocketBuffer.

    Signed-off-by: Miguel Company <miguelcompany@eprosima.com>
    Signed-off-by: Miguel Company <MiguelCompany@eprosima.com>
    MiguelCompany committed May 16, 2024
    Configuration menu
    Copy the full SHA
    fd8a041 View commit details
    Browse the repository at this point in the history