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

out_forward: Fix to update timeout of cached sockets #3711

Merged
merged 3 commits into from May 27, 2022

Commits on May 24, 2022

  1. out_forward: Fix to update timeout of cached sockets

    In `SocketCache`, timeout of sockets are set only on creating them and
    never be updated. So that cached sockets (`@available_sockets`) are
    always closed after `keepalive_timeout` is passed from its creation,
    even if it was used within `keepalive_timeout` seconds.
    
    Signed-off-by: Takuro Ashie <ashie@clear-code.com>
    ashie committed May 24, 2022
    Copy the full SHA
    0a1939d View commit details
    Browse the repository at this point in the history
  2. test_socket_cache: Add missing Timecop.return

    Signed-off-by: Takuro Ashie <ashie@clear-code.com>
    ashie committed May 24, 2022
    Copy the full SHA
    e58607d View commit details
    Browse the repository at this point in the history
  3. test_socket_cache: Fix a wrong timeout value

    Signed-off-by: Takuro Ashie <ashie@clear-code.com>
    ashie committed May 24, 2022
    Copy the full SHA
    cd6ade0 View commit details
    Browse the repository at this point in the history