Skip to content

Commit

Permalink
[XrdCl] AsyncRawReader: correctly trigger discard logic.
Browse files Browse the repository at this point in the history
  • Loading branch information
simonmichal committed Oct 11, 2022
1 parent 61d67cc commit 5ca8759
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/XrdCl/XrdClAsyncRawReader.hh
Expand Up @@ -113,7 +113,7 @@ namespace XrdCl
//--------------------------------------------------------------
// We run out of space, the server has send too much data
//--------------------------------------------------------------
if( choff == ( *chunks )[chidx].length )
if( chidx >= chunks->size() )
{
readstage = ReadDiscard;
continue;
Expand Down

0 comments on commit 5ca8759

Please sign in to comment.