mirror of
https://github.com/mjl-/mox.git
synced 2025-07-14 16:54:36 +03:00
imapserver: Disable compress=deflate extension
It still blocks on reading partial flushes from clients, preventing progress and eventually timing out. The flate library needs more changes to make this work. Connections from iOS mail sometimes timed out, not always. The extension is simply not announced, code is still present.
This commit is contained in:
@ -150,10 +150,6 @@ func (c *Conn) AuthenticateSCRAM(method string, h func() hash.Hash, username, pa
|
||||
func (c *Conn) CompressDeflate() (untagged []Untagged, result Result, rerr error) {
|
||||
defer c.recover(&rerr)
|
||||
|
||||
if _, ok := c.CapAvailable[CapCompressDeflate]; !ok {
|
||||
c.xerrorf("server does not implement capability %s", CapCompressDeflate)
|
||||
}
|
||||
|
||||
untagged, result, rerr = c.Transactf("compress deflate")
|
||||
c.xcheck(rerr)
|
||||
|
||||
|
Reference in New Issue
Block a user