cvs commit: src/lib/libc/rpc svc_vc.c
Doug Rabson
dfr at FreeBSD.org
Sun Mar 30 02:36:18 PDT 2008
dfr 2008-03-30 09:36:17 UTC
FreeBSD src repository
Modified files:
lib/libc/rpc svc_vc.c
Log:
Don't call xdrrec_skiprecord in the non-blocking case. If
__xdrrec_getrec has returned TRUE, then we have a complete request in
the buffer - calling xdrrec_skiprecord is not necessary. In particular,
if there is another record already buffered on the stream,
xdrrec_skiprecord will discard both this request and the next
one, causing the call to xdr_callmsg to fail and the stream to be
closed.
Sponsored by: Isilon Systems
Revision Changes Path
1.27 +2 -1 src/lib/libc/rpc/svc_vc.c
More information about the cvs-src
mailing list