From owner-cvs-all Mon Jan 27 14:19:34 2003 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B378637B401; Mon, 27 Jan 2003 14:19:33 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 581C443F75; Mon, 27 Jan 2003 14:19:33 -0800 (PST) (envelope-from mbr@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h0RMJXbv045824; Mon, 27 Jan 2003 14:19:33 -0800 (PST) (envelope-from mbr@repoman.freebsd.org) Received: (from mbr@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h0RMJWgC045823; Mon, 27 Jan 2003 14:19:32 -0800 (PST) Message-Id: <200301272219.h0RMJWgC045823@repoman.freebsd.org> From: Martin Blapp Date: Mon, 27 Jan 2003 14:19:32 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libc/xdr xdr_rec.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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 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