Milter implementation.

This commit is contained in:
mdecimus
2023-07-21 20:21:51 +02:00
parent 0996878d8f
commit 56aec86a86
30 changed files with 3466 additions and 304 deletions

View File

@@ -98,6 +98,7 @@ impl Server {
stream,
local_ip,
remote_ip: remote_addr.ip(),
remote_port: remote_addr.port(),
span,
in_flight,
instance: instance.clone(),

View File

@@ -53,6 +53,7 @@ pub struct SessionData<T: AsyncRead + AsyncWrite + Unpin + 'static> {
pub stream: T,
pub local_ip: IpAddr,
pub remote_ip: IpAddr,
pub remote_port: u16,
pub span: tracing::Span,
pub in_flight: InFlight,
pub instance: Arc<ServerInstance>,