From owner-cvs-all Wed Aug 28 13:56: 5 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6611D37B400; Wed, 28 Aug 2002 13:56:02 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1902843E3B; Wed, 28 Aug 2002 13:56:02 -0700 (PDT) (envelope-from archie@FreeBSD.org) Received: from freefall.freebsd.org (archie@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g7SKu1JU052344; Wed, 28 Aug 2002 13:56:01 -0700 (PDT) (envelope-from archie@freefall.freebsd.org) Received: (from archie@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g7SKu1Nx052343; Wed, 28 Aug 2002 13:56:01 -0700 (PDT) Message-Id: <200208282056.g7SKu1Nx052343@freefall.freebsd.org> From: Archie Cobbs Date: Wed, 28 Aug 2002 13:56:01 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern uipc_syscalls.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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