Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Aug 2003 07:04:47 -0700 (PDT)
From:      Yar Tikhiy <yar@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/kern uipc_syscalls.c
Message-ID:  <200308061404.h76E4lUO044322@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
yar         2003/08/06 07:04:47 PDT

  FreeBSD src repository

  Modified files:
    sys/kern             uipc_syscalls.c 
  Log:
  If connect(2) has been interrupted by a signal and therefore the
  connection is to be established asynchronously, behave as in the
  case of non-blocking mode:
  
  - keep the SS_ISCONNECTING bit set thus indicating that
    the connection establishment is in progress, which is the case
    (clearing the bit in this case was just a bug);
  
  - return EALREADY, instead of the confusing and unreasonable
    EADDRINUSE, upon further connect(2) attempts on this socket
    until the connection is established (this also brings our
    connect(2) into accord with IEEE Std 1003.1.)
  
  Revision  Changes    Path
  1.154     +8 -3      src/sys/kern/uipc_syscalls.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200308061404.h76E4lUO044322>