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

Cherry-pick #19459 to 7.8: [Filebeat] Fix reference leak in TCP and Unix socket inputs #19502

Merged
merged 3 commits into from
Jul 16, 2020

Commits on Jul 13, 2020

  1. [Filebeat] Fix reference leak in TCP and Unix socket inputs (elastic#…

    …19459)
    
    The tcp and unix input sources were leaking references causing a memory leak.
    When an accepted connection ended inputsource/common.Closer was
    supposed to delete the pointer that it held to the connection, but due to a code
    error `delete` was being called on the wrong map.
    
    Instead of modifying the common.Closer I replaced it with a cancellable context.Context which
    is designed to propagate signals from parent to children and requires less code.
    
    (cherry picked from commit 61f4846)
    andrewkroh committed Jul 13, 2020
    Configuration menu
    Copy the full SHA
    4293994 View commit details
    Browse the repository at this point in the history
  2. Update vendor and notice

    andrewkroh committed Jul 13, 2020
    Configuration menu
    Copy the full SHA
    5e94d42 View commit details
    Browse the repository at this point in the history

Commits on Jul 16, 2020

  1. Configuration menu
    Copy the full SHA
    4db1eb2 View commit details
    Browse the repository at this point in the history