From 42cc02d6f6118615d2ae6be5b2f43d47dfd8f119 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20CORTIER?= Date: Fri, 25 Oct 2024 15:51:49 +0900 Subject: [PATCH] docs(server): slightly adjust comments --- crates/ironrdp-acceptor/src/connection.rs | 3 ++- crates/ironrdp-server/src/server.rs | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/crates/ironrdp-acceptor/src/connection.rs b/crates/ironrdp-acceptor/src/connection.rs index 1957522d1..ec98ee454 100644 --- a/crates/ironrdp-acceptor/src/connection.rs +++ b/crates/ironrdp-acceptor/src/connection.rs @@ -525,7 +525,8 @@ impl Sequence for Acceptor { let creds = client_info.client_info.credentials; if self.creds.as_ref().map_or(true, |srv_creds| srv_creds != &creds) { - // how authorization should be denied with standard RDP security? + // FIXME: How authorization should be denied with standard RDP security? + // Since standard RDP security is not a priority, we just send a ServerDeniedConnection ServerSetErrorInfo PDU. let info = ServerSetErrorInfoPdu(ErrorInfo::ProtocolIndependentCode( ProtocolIndependentCode::ServerDeniedConnection, )); diff --git a/crates/ironrdp-server/src/server.rs b/crates/ironrdp-server/src/server.rs index 2d27f0bfa..d0eebf34a 100644 --- a/crates/ironrdp-server/src/server.rs +++ b/crates/ironrdp-server/src/server.rs @@ -44,7 +44,7 @@ pub struct RdpServerOptions { pub enum RdpServerSecurity { None, Tls(TlsAcceptor), - // for both hybrid + hybrid-ex + /// Used for both hybrid + hybrid-ex. Hybrid((TlsAcceptor, Vec)), }