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_http: Add option to reuse connections #4330

Merged
merged 7 commits into from
Apr 30, 2024

Commits on Apr 30, 2024

  1. out_http: Add option to reuse connections

    Signed-off-by: Christian Norbert Menges <christian.norbert.menges@sap.com>
    Garfield96 authored and daipom committed Apr 30, 2024
    Configuration menu
    Copy the full SHA
    5844e96 View commit details
    Browse the repository at this point in the history
  2. out_http: Add test for connection recreation

    Signed-off-by: Christian Norbert Menges <christian.norbert.menges@sap.com>
    Garfield96 authored and daipom committed Apr 30, 2024
    Configuration menu
    Copy the full SHA
    7a5662a View commit details
    Browse the repository at this point in the history
  3. out_http: Use snake case

    Signed-off-by: Christian Norbert Menges <christian.norbert.menges@sap.com>
    Garfield96 authored and daipom committed Apr 30, 2024
    Configuration menu
    Copy the full SHA
    fa5b183 View commit details
    Browse the repository at this point in the history
  4. Apply suggestions from code review

    Signed-off-by: Daijiro Fukuda <fukuda@clear-code.com>
    Co-authored-by: Daijiro Fukuda <fukuda@clear-code.com>
    Garfield96 and daipom committed Apr 30, 2024
    Configuration menu
    Copy the full SHA
    af18531 View commit details
    Browse the repository at this point in the history
  5. Move struct definition outside of constructor

    Signed-off-by: Daijiro Fukuda <fukuda@clear-code.com>
    daipom committed Apr 30, 2024
    Configuration menu
    Copy the full SHA
    d57402e View commit details
    Browse the repository at this point in the history
  6. Make some parameter names more specific

    Signed-off-by: Daijiro Fukuda <fukuda@clear-code.com>
    daipom committed Apr 30, 2024
    Configuration menu
    Copy the full SHA
    6763f3d View commit details
    Browse the repository at this point in the history
  7. Use more specific thread key name for cache-id

    and following:
    
    * Use `Thread#[]` style
        * because it is the common for Fluentd code
    * Rename `connection_cache_id` to `connection_cache_next_id`
        * for clarity.
    
    Signed-off-by: Daijiro Fukuda <fukuda@clear-code.com>
    daipom committed Apr 30, 2024
    Configuration menu
    Copy the full SHA
    9ce635c View commit details
    Browse the repository at this point in the history