Fix Milter: End-of-headers is not sent to milters that negotiate SMFIP_NOHDRS without SMFIP_NOEOH, so the transaction stalls until it times out

This commit is contained in:
Maurus Decimus committed 2026-10-08 10:37:49 +02:00
1 parent 92c998138e
commit 2af9acfd61
2 files changed
+3 -1

No files matched your search

+1
View File
@@ -13,6 +13,7 @@ If you are upgrading from v0.16.x, replace the binary (or run `docker pull`). If
## Fixed
- RocksDB: Blob garbage collection rewrites every stored blob on each compaction of the blobs column family, about once per 128MB of new mail.
- Milter: End-of-headers is not sent to milters that negotiate `SMFIP_NOHDRS` without `SMFIP_NOEOH`, so the transaction stalls until it times out.
## [0.16.25] - 2026-10-05
+2 -1
View File
@@ -238,8 +238,9 @@ impl<T: AsyncRead + AsyncWrite + Unpin> MilterClient<T> {
}
}
}
}
// Write EndOfHeaders
if !self.has_option(SMFIP_NOEOH) {
self.write(Command::EndOfHeader).await?;
if !self.has_option(SMFIP_NR_EOH) {
return self.read().await?.into_action();