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

http-netty: Add phantom reference version of watchdog filters #3084

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Oct 31, 2024

  1. http-netty: Add phantom reference version of watchdog filters

    Motivation
    
    The current watchdog filters are not exact: they don't account for
    responses that get drained later than the cleaner expects which can
    result in false positives. Because of this they can't proactively
    drain the responses.
    
    Modifications
    
    Add a PhantomReference variant of the watchdog filters. This filter
    uses a PhantomReference based implementation to be certain the
    response has been abandoned. Because we can now be certain, we can
    also proactively drain the response.
    bryce-anderson committed Oct 31, 2024
    Configuration menu
    Copy the full SHA
    b8e5e99 View commit details
    Browse the repository at this point in the history