Print

Print


  Branch: refs/heads/master
  Home:   https://github.com/xrootd/xrootd
  Commit: 7e650627b0390bb553316004c665a7a0e1651d78
      https://github.com/xrootd/xrootd/commit/7e650627b0390bb553316004c665a7a0e1651d78
  Author: Brian Bockelman <[log in to unmask]>
  Date:   2014-04-24 (Thu, 24 Apr 2014)

  Changed paths:
    M src/XrdCl/XrdClXRootDMsgHandler.cc

  Log Message:
  -----------
  Correctly handle reads of a partial header.  #45

If a partial header was read, we previously did not return to the
poll loop.  Instead, a read into the data buffer was attempted.  If
that read actually succeeded (that is, a packet arrived between the
two read calls), then the next attempt to read the header resulted
in garbage size/offsets being attempted.

The fix is to simply check for a partial header read and return to the
poll loop immediately if one occurred.



########################################################################
Use REPLY-ALL to reply to list

To unsubscribe from the XROOTD-DEV list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-DEV&A=1