You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
lib: remove L7Proxy::deregister_socket, which has no caller since #1568 #1615
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
refactor(lib): remove L7Proxy::deregister_socket (sozu-proxy#1618)
refactor(mux): remove L7Proxy::backends (#1698)