RateLimit header fields for HTTP
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "pop3"
|
||||
version = "0.16.6"
|
||||
version = "0.16.7"
|
||||
edition = "2024"
|
||||
|
||||
[dependencies]
|
||||
|
||||
@@ -147,11 +147,11 @@ impl<T: SessionStream> Session<T> {
|
||||
self.handle_stls().await.map(|_| SessionResult::UpgradeTls)
|
||||
}
|
||||
Command::Utf8 => self.handle_utf8().await.map(|_| SessionResult::Continue),
|
||||
Command::Auth { mechanism, params } => Box::pin(
|
||||
self.handle_sasl(mechanism, params),
|
||||
)
|
||||
.await
|
||||
.map(|_| SessionResult::Continue),
|
||||
Command::Auth { mechanism, params } => {
|
||||
Box::pin(self.handle_sasl(mechanism, params))
|
||||
.await
|
||||
.map(|_| SessionResult::Continue)
|
||||
}
|
||||
Command::Apop { .. } => Err(trc::Pop3Event::Error
|
||||
.into_err()
|
||||
.details("APOP not supported.")),
|
||||
|
||||
Reference in New Issue
Block a user