mirror of
https://github.com/YGGverse/titanit.git
synced 2026-03-31 17:15:30 +00:00
add comments
This commit is contained in:
parent
f1f419481f
commit
48b7adb18b
1 changed files with 2 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue