Martin Blapp 22e4d31a81 Fix amd(8) clients, if a FreeBSD mountd(8) server is used.
Remove the special treatment of non-blocking mode in
the "look ahead function" xdrrec_eof(). It currently
assumes that the last read() in a row of several reads
does not have zero lenght. If this is the case, svc_vc_stat()
does return XPRT_MOREREQS, and the RPC-request aborts because
there is no data to read anymore.

To fix this, go back to the original version of the code
for non-blocking mode until NetBSD comes up with another
possible fix like this one in xdrrec_eof()

	if (rstrm->last_frag && rstrm->in_finger == rstrm->in_boundry) {
		return TRUE;
	}

Return always FALSE in set_input_fragment() for non-blocking
mode. Since this was not used in FreeBSD, I omitted it at the
first time. Now we use this function and we should always
return FALSE for it.

Reviewed by:	rwatson
Approved by:	re
2003-05-28 09:13:09 +00:00
..
2003-05-04 18:34:00 +00:00
2003-04-20 18:38:59 +00:00
2003-04-20 18:41:16 +00:00
2002-09-28 00:25:32 +00:00
2003-05-24 19:53:08 +00:00
2002-12-27 12:15:40 +00:00
2003-03-24 16:02:05 +00:00
2003-05-22 13:02:28 +00:00
2003-02-06 11:25:03 +00:00
2002-12-27 12:15:40 +00:00
2003-05-22 13:02:28 +00:00
2002-12-27 12:15:40 +00:00
2002-09-28 00:25:32 +00:00
2003-03-24 16:02:05 +00:00
2003-01-28 23:03:15 +00:00
2003-04-30 15:49:40 +00:00
2003-05-24 19:53:08 +00:00
2002-09-28 00:25:32 +00:00
2003-05-24 19:53:08 +00:00
2002-09-28 00:25:32 +00:00
2002-09-28 00:25:32 +00:00
2003-01-07 13:18:21 +00:00
2003-05-22 13:02:28 +00:00
2002-09-28 00:25:32 +00:00
2002-09-28 00:25:32 +00:00
2003-03-09 19:56:21 +00:00
2003-05-22 17:07:57 +00:00
2003-04-30 15:49:40 +00:00
2003-05-19 15:52:01 +00:00
2002-09-28 00:25:32 +00:00