Skip to content
Commit b635fb8c authored by michael.berlin.xtreemfs@gmail.com's avatar michael.berlin.xtreemfs@gmail.com
Browse files

foundation: Fix problem of duplicate responseAvailable() calls.

Setting the listener of the RPCResponse was not part of the synchronized block. Consequently, the following race condition could occur:
- listener was set by registerListener()
- meanwhile, RPC Client called responseAvailable() on the set listener
- registerListener() noticed that request != null and called responseAvailable() on the RPCResponse

git-svn-id: https://xtreemfs.googlecode.com/svn/trunk@3353 f8528748-c2c0-11dd-ba5c-d3b7c2b3b534
parent 38e89787
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment