Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Aug 2002 13:56:01 -0700 (PDT)
From:      Archie Cobbs <archie@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/kern uipc_syscalls.c
Message-ID:  <200208282056.g7SKu1Nx052343@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
archie      2002/08/28 13:56:01 PDT

  Modified files:
    sys/kern             uipc_syscalls.c 
  Log:
  accept(2) on a socket that has been shutdown(2) normally returns
  ECONNABORTED. Make this happen in the non-blocking case as well.
  The previous behavior was to return EAGAIN, which (a) is not
  consistent with the blocking case and (b) causes the application
  to think the socket is still valid.
  
  PR:             bin/42100
  Reviewed by:    freebsd-net
  MFC after:      3 days
  
  Revision  Changes    Path
  1.130     +4 -5      src/sys/kern/uipc_syscalls.c

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




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