Skip to content

Commit

Permalink
[XrdCl] Avoid that pgread responses could be timedout while being pro…
Browse files Browse the repository at this point in the history
…cessed
  • Loading branch information
David Smith committed Aug 10, 2022
1 parent 650181a commit 863b708
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/XrdCl/XrdClXRootDMsgHandler.cc
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,7 @@ namespace XrdCl
// kXR_status response, we can handle the raw data (if any) only after
// we have the whole kXR_status body
//----------------------------------------------------------------------
pTimeoutFence.store( true, std::memory_order_relaxed );
return None;
}

Expand Down Expand Up @@ -364,10 +365,7 @@ namespace XrdCl
action |= Raw;

if( rspst->status.bdy.resptype == XrdProto::kXR_PartialResult )
{
action |= NoProcess;
pTimeoutFence.store( true, std::memory_order_relaxed );
}
else
action |= RemoveHandler;
}
Expand Down

0 comments on commit 863b708

Please sign in to comment.