[
https://issues.apache.org/jira/browse/HTTPCORE-588?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16903865#comment-16903865
]
ASF subversion and git services commented on HTTPCORE-588:
----------------------------------------------------------
Commit 1e9d57e176b142ed05f48928e36c04149c1f9385 in httpcomponents-core's branch
refs/heads/HTTPCORE-588 from Oleg Kalnichevski
[ https://gitbox.apache.org/repos/asf?p=httpcomponents-core.git;h=1e9d57e ]
HTTPCORE-588: race condition in ComplexCancellable that can lead to operational
dependency not being correctly cancelled
> ComplexCancellable may not be Cancel CancellableDependency
> ----------------------------------------------------------
>
> Key: HTTPCORE-588
> URL: https://issues.apache.org/jira/browse/HTTPCORE-588
> Project: HttpComponents HttpCore
> Issue Type: Bug
> Components: HttpCore
> Affects Versions: 5.0-beta8
> Reporter: LiTao
> Priority: Minor
> Fix For: 5.0-beta9
>
> Time Spent: 40m
> Remaining Estimate: 0h
>
> 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: [email protected]
For additional commands, e-mail: [email protected]