[Dovecot] [PATCH] net_connect_*(): Wait for fd to complete connect(2) when fd is non-blocking
SATOH Fumiyasu
fumiyas at osstech.jp
Tue Aug 2 05:25:49 EEST 2011
Hi!
At Sun, 31 Jul 2011 14:40:10 +0900,
SATOH Fumiyasu wrote:
> I've regenerated the patch with 'hg export' instead of 'hg log -p'.
> (Sorry, I'm a Mercurial newbie.)
>
> At Sun, 31 Jul 2011 01:41:22 +0900,
> SATOH Fumiyasu wrote:
> > Dovecot ignores EINPROGRESS on connect(2) for non-blocking fd.
> > This is wrong. After that, read(2) to fd (or write(2) to fd) fails
> > with ENOTCONN if the connection of fd is not completed.
> >
> > The attached patch fixes this problem.
Any comment?
On a high-load Solaris 10 box, dovecot-lda fails to query (I/O) to
dovecot dict socket with ENOTCONN. My patch fixes this problem.
Regards,
--
-- Name: SATOH Fumiyasu (fumiyas @ osstech co jp)
-- Business Home: http://www.OSSTech.co.jp/
-- Personal Home: http://www.SFO.jp/blog/
More information about the dovecot
mailing list