Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Mar 2008 09:36:17 +0000 (UTC)
From:      Doug Rabson <dfr@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/lib/libc/rpc svc_vc.c
Message-ID:  <200803300936.m2U9aHqN056553@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200803300936.m2U9aHqN056553>