Bill Fenner 92f57d003c 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.
1998-02-19 19:38:20 +00:00
..
1998-02-03 21:41:12 +00:00
1998-02-09 06:11:36 +00:00
1997-08-02 14:33:27 +00:00
1998-02-03 17:52:21 +00:00
1997-08-02 14:33:27 +00:00
1997-11-22 08:35:46 +00:00
1998-02-06 12:14:30 +00:00
1998-01-22 17:30:44 +00:00
1998-01-22 17:30:44 +00:00
1998-02-12 18:02:07 +00:00
1998-01-31 07:23:16 +00:00
1998-02-09 06:11:36 +00:00
1998-02-09 06:11:36 +00:00
1998-02-09 06:11:36 +00:00
1998-02-06 12:14:30 +00:00
1998-02-06 12:14:30 +00:00
1998-02-06 12:14:30 +00:00
1998-02-15 14:15:21 +00:00
1997-06-14 11:38:46 +00:00
1998-02-06 12:14:30 +00:00
1998-02-09 06:11:36 +00:00
1998-02-06 12:14:30 +00:00
1997-09-14 02:50:28 +00:00
1998-02-09 06:11:36 +00:00
1998-02-06 12:14:30 +00:00
1997-09-14 02:52:18 +00:00
1998-02-03 17:52:21 +00:00
1998-02-03 17:45:43 +00:00
1998-02-09 06:11:36 +00:00
1998-02-06 12:14:30 +00:00
1997-09-16 11:44:05 +00:00
1997-08-02 14:33:27 +00:00
1998-02-09 06:11:36 +00:00
1998-02-06 12:14:30 +00:00
1998-02-09 06:11:36 +00:00
1998-02-11 20:06:48 +00:00
1997-12-19 23:18:37 +00:00
1998-02-06 12:14:30 +00:00
1998-02-09 06:11:36 +00:00
1998-02-10 02:54:24 +00:00
1998-02-09 06:11:36 +00:00
1998-02-09 06:11:36 +00:00
1998-02-10 02:54:24 +00:00
1998-02-06 12:14:30 +00:00
1997-10-16 20:32:40 +00:00