Date: Mon, 27 Jan 2003 14:19:32 -0800 (PST) From: Martin Blapp <mbr@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libc/xdr xdr_rec.c Message-ID: <200301272219.h0RMJWgC045823@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
mbr 2003/01/27 14:19:32 PST
Modified files:
lib/libc/xdr xdr_rec.c
Log:
Reset the record lenght and received bytes once a record
is finished. This fixes clients doing two RPCs over the
same connection at the same time. Without this fix, we
could end with a reply to old data.
Submitted by: Frank van der Linden <fvdl@netbsd.org>
Reviewed by: rwatson
Obtained from: NetBSD
Revision Changes Path
1.18 +9 -0 src/lib/libc/xdr/xdr_rec.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?200301272219.h0RMJWgC045823>
