sapling/eden/mononoke/server
Thomas Orozco 2304cd1420 mononoke/connection_acceptor: defer ChannelConn construction until we have metadata
Summary:
I'd like to have some socket level logging, and it's good to capture the
metadata there so that we have client identities, session ids, etc.

But I can't do this if I don't have the metadata! This updates our code so that the
metadata is available where this logging will go.

This means we can't rely on loggers in `try_convert_preamble_to_metadata`, but
given this is now only used for hgcli, I don't think that matters, so I just removed it.

Reviewed By: mitrandir77

Differential Revision: D28383121

fbshipit-source-id: 27532f021a9082e74403bba73cad4fc6d0a6d97c
2021-05-13 01:57:19 -07:00
..
context mononoke: use Arc<Metadata> in sessions 2021-05-13 01:57:19 -07:00
monitoring rust: remove patch for async-compression 2021-05-05 12:20:34 -07:00
qps rust: remove patch for async-compression 2021-05-05 12:20:34 -07:00
repo_listener mononoke/connection_acceptor: defer ChannelConn construction until we have metadata 2021-05-13 01:57:19 -07:00
session_id rust: remove patch for async-compression 2021-05-05 12:20:34 -07:00
src cmdlib: add scuba sample builder to environment 2021-05-06 11:40:08 -07:00
Cargo.toml rust: remove patch for async-compression 2021-05-05 12:20:34 -07:00