Skip to content

Commit

Permalink
[SSI] Avoid race condition between Finish() and SetResponse().
Browse files Browse the repository at this point in the history
  • Loading branch information
abh3 committed Jan 30, 2019
1 parent ae51d04 commit 828f0c7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/XrdSsi/XrdSsiFileReq.cc
Original file line number Diff line number Diff line change
Expand Up @@ -491,7 +491,8 @@ void XrdSsiFileReq::Finalize()

// Request is bound so we can finish right off.
//
case isBound: if (strBuff) {strBuff->Recycle(); strBuff = 0;}
case isBound: urState = isDone;
if (strBuff) {strBuff->Recycle(); strBuff = 0;}
DEBUGXQ("Calling Finished(" <<cancel <<')');
if (respWait) WakeUp();
mHelper.UnLock();
Expand Down

0 comments on commit 828f0c7

Please sign in to comment.