]> granicus.if.org Git - libtirpc/commit
Do not skip records with nonblocking connections
authorSteve Dickson <steved@redhat.com>
Sat, 18 Jun 2011 13:49:40 +0000 (09:49 -0400)
committerSteve Dickson <steved@redhat.com>
Tue, 21 Jun 2011 18:31:44 +0000 (14:31 -0400)
commit40dcc63eecbd1dfc30363351a61167353bb814a4
treea9f478b023a604e31d007e91b1fd44cb375f339a
parentdd0a9650a9979f209795f2855766efc91e9f6f79
Do not skip records with nonblocking connections

With non-blocking connections, do not skip records when receiving
the streams since entire value messages can be ignored which
in cause the entire stream to become out of sync.

For example, two mounts simultaneously send two unmaps
commands. The first one is read, then the second thrown
away due to skipping the record. Skipping this record
will cause XDR error later in processing of the stream.

Signed-off-by: Steve Dickson <steved@redhat.com>
src/svc_vc.c