Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Feb 1998 11:38:21 -0800 (PST)
From:      Bill Fenner <fenner@FreeBSD.ORG>
To:        cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG
Subject:   cvs commit: src/sys/kern uipc_socket.c
Message-ID:  <199802191938.LAA12679@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 <van@ee.lbl.gov>, 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 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?199802191938.LAA12679>