Skip to content

Commit

Permalink
docs(server): slightly adjust comments
Browse files Browse the repository at this point in the history
  • Loading branch information
CBenoit committed Oct 25, 2024
1 parent c1a7c4d commit 42cc02d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion crates/ironrdp-acceptor/src/connection.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
));
Expand Down
2 changes: 1 addition & 1 deletion crates/ironrdp-server/src/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<u8>)),
}

Expand Down

0 comments on commit 42cc02d

Please sign in to comment.