update comments

This commit is contained in:
yggverse 2024-11-28 02:42:24 +02:00
parent a865a73a8b
commit 262e11d677

View File

@ -424,11 +424,12 @@ impl Page {
} }
}); });
// Create connection // Begin new socket request
self.client.gemini.request_async( self.client.gemini.request_async(
uri.clone(), uri.clone(),
None, None, // default priority
Some(cancellable.clone()), Some(cancellable.clone()),
// Search for user certificate match request scope
match self.profile.identity.gemini.match_priority(&self.navigation.request.widget.entry.text()) { match self.profile.identity.gemini.match_priority(&self.navigation.request.widget.entry.text()) {
Some(identity) => match TlsCertificate::from_pem(&identity.pem) { Some(identity) => match TlsCertificate::from_pem(&identity.pem) {
Ok(certificate) => Some(certificate), Ok(certificate) => Some(certificate),