From owner-freebsd-java Thu Feb 19 12:05:05 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA14219 for freebsd-java-outgoing; Thu, 19 Feb 1998 12:05:05 -0800 (PST) (envelope-from owner-freebsd-java@FreeBSD.ORG) Received: from rah.star-gate.com (rah.star-gate.com [209.133.7.178]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA14213 for ; Thu, 19 Feb 1998 12:05:02 -0800 (PST) (envelope-from hasty@rah.star-gate.com) Received: from rah (localhost.star-gate.com [127.0.0.1]) by rah.star-gate.com (8.8.8/8.8.8) with ESMTP id MAA03116 for ; Thu, 19 Feb 1998 12:04:57 -0800 (PST) (envelope-from hasty@rah.star-gate.com) Message-Id: <199802192004.MAA03116@rah.star-gate.com> X-Mailer: exmh version 2.0gamma 1/27/96 To: java@FreeBSD.ORG Subject: kernel socket fix Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 19 Feb 1998 12:04:57 -0800 From: Amancio Hasty Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org To those working on the jdk , Not sure if this is going to help however it does look rather interesting 8) Enjoy, Amancio fenner 1998/02/19 11:38:21 PST Modified files: sys/kern uipc_socket.c Log: Revert sosend() to its behavior from 4.3-Tahoe and before: if so_error is set, clear it before returning it. The behavior introduced in 4.3-Reno (to not clear so_error) causes potentially transient errors (e.g. ECONNREFUSED if the other end hasn't opened its socket yet) to be permanent on connected datagram sockets that are only used for writing. (soreceive() clears so_error before returning it, as does getsockopt(...,SO_ERROR,...).) Submitted by: Van Jacobson , via a comment in the vat sources. Revision Changes Path 1.37 +7 -3 src/sys/kern/uipc_socket.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message