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

Enable server plugins to specify socket-option SO_LINGER #3644

Merged

Commits on Feb 25, 2022

  1. Enable server plugins to specify socket-option SO_LINGER

    `in_forward` plugin has the config, but most of plugins using the `server`
    helper doesn't have the config, such as `in_tcp` or `in_http`.
    
    The helper sets `0` to this option by default.
    It causes the server sends RST rather than FIN on closing.
    So this value needs to be changed if needing FIN signal on closing.
    
    Adding this option to `transport_config` enable all plugins using the helper
    to change this value.
    
    Signed-off-by: daipom <fukuda@clear-code.com>
    daipom committed Feb 25, 2022
    Configuration menu
    Copy the full SHA
    81d35f6 View commit details
    Browse the repository at this point in the history