You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "LiTao (JIRA)" <ji...@apache.org> on 2019/08/08 04:01:00 UTC

[jira] [Created] (HTTPCORE-588) ComplexCancellable may not be Cancel CancellableDependency

LiTao created HTTPCORE-588:
------------------------------

             Summary: ComplexCancellable may not be Cancel CancellableDependency
                 Key: HTTPCORE-588
                 URL: https://issues.apache.org/jira/browse/HTTPCORE-588
             Project: HttpComponents HttpCore
          Issue Type: Improvement
          Components: HttpCore
    Affects Versions: 5.0
            Reporter: LiTao


Where: org.apache.hc.core5.concurrent.ComplexCancellable#setDependency:57



Example:
   Thread1 call cancelled.get()  and get result false, so next step to set dependencyRef. Now other Thread2 call org.apache.hc.core5.concurrent.ComplexCancellable#cancel and run over. 

.... dependencyRef of Thread1 are not invoke.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org