mirror of
https://github.com/YGGverse/ggemini.git
synced 2026-03-31 17:15:31 +00:00
add comments
This commit is contained in:
parent
273dac139e
commit
17b2fcaaae
1 changed files with 2 additions and 2 deletions
|
|
@ -91,8 +91,8 @@ impl Connection {
|
||||||
// * do not replace with `tls_client_connection.base_io_stream()`
|
// * do not replace with `tls_client_connection.base_io_stream()`
|
||||||
// as it will not work properly for user certificate sessions!
|
// as it will not work properly for user certificate sessions!
|
||||||
match self.tls_client_connection.certificate().is_some() {
|
match self.tls_client_connection.certificate().is_some() {
|
||||||
true => self.tls_client_connection.clone().upcast::<IOStream>(),
|
true => self.tls_client_connection.clone().upcast::<IOStream>(), // is user session
|
||||||
false => self.socket_connection.clone().upcast::<IOStream>(),
|
false => self.socket_connection.clone().upcast::<IOStream>(), // is guest session
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue