add comments

This commit is contained in:
yggverse 2025-02-23 06:33:09 +02:00
parent f1f419481f
commit 48b7adb18b

View file

@ -122,6 +122,8 @@ fn gemini(
) {
use titanite::*;
println!("[{}] [info] [{peer}] Request: {}", now(), gemini.url);
// file could be large,
// to not overflow the memory pool, build the response using chunks
match storage::Item::from_url(gemini.url.as_str(), &argument.directory) {
Ok(item) => {
let mut read: usize = 0;