>Several parts of Postfix do: connect() write() close(), where the
>close() may happen before the server has accept()ed the connection.
>Due to an incompatible change in FreeBSD 4.2-STABLE, this causes
>accept() after close() to fail. The already written data is lost.
>This is a bad incompatible change.

        see SUSv2 and XNET 5.2 spec for accept(), and Stevens (unix network
        programming vol 1 2nd ed) section 5.11.
        http://www.opengroup.org/onlinepubs/007908799/xns/accept.html

        4.3BSD behavior was very wrong (described in Stevens).

        old freebsd behavior (return 0-length sockaddr) was also wrong,
        it kills a set of applications including sendmail and BIND910.

        new freebsd behavior (ECONNABORTED) is at least SUSv2 conformant,
        and I expect it to be the behavior of other stacks.

itojun

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-net" in the body of the message

Reply via email to