From 4a9c6fba7d99e5fab3b468f3f3980d0b0cb6264a Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Wed, 24 May 2023 09:22:16 -0400 Subject: [PATCH] rpc: Disable auth:get_rpc_protocol for now. --- crates/arti-rpcserver/src/connection/auth.rs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/crates/arti-rpcserver/src/connection/auth.rs b/crates/arti-rpcserver/src/connection/auth.rs index 9ba0358d0..dec48e67e 100644 --- a/crates/arti-rpcserver/src/connection/auth.rs +++ b/crates/arti-rpcserver/src/connection/auth.rs @@ -9,6 +9,13 @@ use std::sync::Arc; use super::Connection; use tor_rpcbase as rpc; +/* + TODO RPC: This is disabled because the design isn't really useful. + If we're going to provide something here, it should probably + contain a list of protocol elements/aspects, and it should be designed + to enable compatibility, with a clear view of what applications are + supposed to do about it. + /// Declare the get_rpc_protocol method. mod get_rpc_protocol { use super::Connection; @@ -57,6 +64,7 @@ mod get_rpc_protocol { conn_get_rpc_protocol(Connection, GetRpcProtocol); } } +*/ /// The authentication scheme as enumerated in the spec. ///