Skip to content

lib: remove L7Proxy::deregister_socket, which has no caller since #1568 #1615

Closed

Description

@FlorentinDUBOIS

Since #1568 (#1567), closing a session no longer issues EPOLL_CTL_DEL, and L7Proxy::deregister_socket has no caller left. The CHANGELOG entry of that change says so: "L7Proxy::deregister_socket stays in the trait, now without a caller".

A repository-wide search on origin/main (a0785505) finds only the trait declaration (lib/src/lib.rs), the HttpProxy and HttpsProxy implementations, two unreachable! test doubles in lib/src/protocol/mux/mod.rs, and a test's red-path instruction. Nothing in bin/, e2e/, sim/ or doc/ calls it. The TCP proxy does not implement L7Proxy, and the health checker, the UDP proxy and the listener paths call Registry::deregister directly.

Proposal: remove the method from the trait and its four implementations, and update the documentation that mentions it.

Activity

  1. added a commit that references this issue on Sep 27, 2026
    2d4a0dc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions