You signed in with another tab or window. Reload to refresh your session.You signed out in anothe
8000
r 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
The hostname proxy looks up socket owners one connection at a time #3000
Found by the arch review of #2997 (T132), as a residual.
Router::caller_for in crates/minimald/src/net/proxy.rs uses OwnerSource::One(connecting_box) in production, and owners_one_by_one does one /proc pass per waiting connection.
The change:
crates/minimald/src/net/dns.rs gains a function of type SocketOwners that names the owners of a slice of (peer, local) pairs from one read of the socket tables and one walk of /proc/*/fd.
Router::new sets owners: Some(<that function>), so production uses OwnerSource::Batch.
Router::with_socket_owners stays a test hook only.
Activity