aboutsummaryrefslogtreecommitdiff
path: root/src/imap/session.rs
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2024-01-01 09:34:13 +0100
committerQuentin Dufour <quentin@deuxfleurs.fr>2024-01-01 09:34:13 +0100
commitd2c3b641fea6106d0fa2a7940abbc026e003f707 (patch)
tree5c79d70cb8d6bf8c0be59edd2094855e2cd86315 /src/imap/session.rs
parent6e20778f74a89d4b7a9b2c9cfca5bb2907bb0d22 (diff)
downloadaerogramme-d2c3b641fea6106d0fa2a7940abbc026e003f707.tar.gz
aerogramme-d2c3b641fea6106d0fa2a7940abbc026e003f707.zip
WIP rewrite
Diffstat (limited to 'src/imap/session.rs')
-rw-r--r--src/imap/session.rs10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/imap/session.rs b/src/imap/session.rs
index 15141d3..e2af18b 100644
--- a/src/imap/session.rs
+++ b/src/imap/session.rs
@@ -1,6 +1,6 @@
use anyhow::Error;
-use boitalettres::errors::Error as BalError;
-use boitalettres::proto::{Request, Response};
+//use boitalettres::errors::Error as BalError;
+//use boitalettres::proto::{Request, Response};
use futures::future::BoxFuture;
use futures::future::FutureExt;
@@ -11,6 +11,7 @@ use crate::imap::command::{anonymous, authenticated, examined, selected};
use crate::imap::flow;
use crate::login::ArcLoginProvider;
+/*
/* This constant configures backpressure in the system,
* or more specifically, how many pipelined messages are allowed
* before refusing them
@@ -69,9 +70,9 @@ impl Manager {
.boxed()
}
}
-
+*/
//-----
-
+/*
pub struct Instance {
rx: mpsc::Receiver<Message>,
@@ -178,3 +179,4 @@ impl Instance {
tracing::debug!("exiting runner");
}
}
+*/