No subject
Fri May 6 23:32:15 2005
Return-Path: xorp-cvs-admin@icir.org
Delivery-Date: Fri, 06 May 2005 16:33:02 -0700
Received: from wyvern.icir.org (wyvern.icir.org [192.150.187.14])
by tigger.icir.org (8.12.11/8.12.11) with ESMTP id j46NX2Iu043700
for <atanu@tigger.icir.org>; Fri, 6 May 2005 16:33:02 -0700 (PDT)
(envelope-from xorp-cvs-admin@icir.org)
Received: from fruitcake.ICSI.Berkeley.EDU (fruitcake.ICSI.Berkeley.EDU [192.150.186.11])
by wyvern.icir.org (8.12.11/8.12.11) with ESMTP id j46NX2hF034496
for <atanu@icir.org>; Fri, 6 May 2005 16:33:02 -0700 (PDT)
(envelope-from xorp-cvs-admin@icir.org)
Received: from fruitcake.ICSI.Berkeley.EDU (localhost [127.0.0.1])
by fruitcake.ICSI.Berkeley.EDU (8.12.10/8.12.9) with ESMTP id j46NX12L027695;
Fri, 6 May 2005 16:33:02 -0700 (PDT)
Received: from wyvern.icir.org (wyvern.icir.org [192.150.187.14])
by fruitcake.ICSI.Berkeley.EDU (8.12.10/8.12.9) with ESMTP id j46NWF2L027678
for <xorp-cvs@icsi.berkeley.edu>; Fri, 6 May 2005 16:32:15 -0700 (PDT)
Received: from xorpc.icir.org (xorpc.icir.org [192.150.187.68])
by wyvern.icir.org (8.12.11/8.12.11) with ESMTP id j46NWFoW034493
for <xorp-cvs@icir.org>; Fri, 6 May 2005 16:32:15 -0700 (PDT)
(envelope-from pavlin@icir.org)
Received: from xorpc.icir.org (localhost [127.0.0.1])
by xorpc.icir.org (8.12.11/8.12.11) with ESMTP id j46NWFsc010798
for <xorp-cvs@icir.org>; Fri, 6 May 2005 16:32:15 -0700 (PDT)
(envelope-from pavlin@xorpc.icir.org)
Received: (from pavlin@localhost)
by xorpc.icir.org (8.12.11/8.12.3/Submit) id j46NWFCV010797
for xorp-cvs@icir.org; Fri, 6 May 2005 23:32:15 GMT
(envelope-from pavlin)
Date: Fri, 6 May 2005 23:32:15 GMT
From: Pavlin Radoslavov <pavlin@icir.org>
Message-Id: <200505062332.j46NWFCV010797@xorpc.icir.org>
To: xorp-cvs@icir.org
X-XORP-CVS-Branch: HEAD
Subject: [Xorp-cvs] XORP cvs commit: xorp/libcomm
Sender: xorp-cvs-admin@icir.org
Errors-To: xorp-cvs-admin@icir.org
X-BeenThere: xorp-cvs@icir.org
X-Mailman-Version: 2.0
Precedence: bulk
List-Help: <mailto:xorp-cvs-request@icir.org?subject=help>
List-Post: <mailto:xorp-cvs@icir.org>
List-Subscribe: <http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-cvs>,
<mailto:xorp-cvs-request@icir.org?subject=subscribe>
List-Id: Mailing list for XORP CVS commit messages <xorp-cvs.icir.org>
List-Unsubscribe: <http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-cvs>,
<mailto:xorp-cvs-request@icir.org?subject=unsubscribe>
CVSROOT: /usr/local/share/doc/apache/cvs
Module name: xorp
Changes by: pavlin@xorpc.icir.org 2005-05-06 23:32:15 UTC
XORP CVS repository
Modified files:
libcomm comm_api.h comm_sock.c comm_user.c test_comm.c
Log message:
* Fix the return value of comm_sock_open from int to xsock_t
* If a function returns xsock_t, then on error now it returns
XORP_BAD_SOCKET instead of XORP_ERROR.
* Add few missing checks for errors.
* Add few missing comm_sock_close().
* If a function tries to do something with a socket it didn't
create and there is an error, then don't close the socket.
The caller should check the return value and decide whether to
close it or not.
* Bug fix inside comm_sock_accept(): if we cannot enable
TCP_NODELAY on the accepted socket, then close that socket
rather than the original socket.
Approved by: Atanu, Bruce
Revision Changes Path
1.12 +20 -22; commitid: 2a0e427bfe5b7ea6; xorp/libcomm/comm_api.h
1.16 +15 -25; commitid: 2a0e427bfe5b7ea6; xorp/libcomm/comm_sock.c
1.13 +135 -88; commitid: 2a0e427bfe5b7ea6; xorp/libcomm/comm_user.c
1.10 +19 -19; commitid: 2a0e427bfe5b7ea6; xorp/libcomm/test_comm.c
_______________________________________________
Xorp-cvs mailing list
Xorp-cvs@icir.org
http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-cvs