[Patch] Fix hang in safe_sendfile on SmartOS

Timo Sirainen tss at iki.fi
Mon Sep 7 19:34:40 UTC 2015

On 07/16/2015 06:03 PM, Sebastian Wiedenroth wrote:
> Fix hang in safe_sendfile on SmartOS
> The call to sendfile on SmartOS can fail with EOPNOTSUPP. This is a valid error
> code and documented in the man page. This error code needs to be handled or
> else dovecot will retry the sendfile call endlessly and hang.

Committed .. However, I think a more important bug is that it hangs.
It's definitely not supposed to hang. Which process was it that was
hanging How can I reproduce that? I can only get it to disconnect the
IMAP client.

More information about the dovecot mailing list