[
https://issues.apache.org/jira/browse/TS-2939?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14070424#comment-14070424
]
ASF GitHub Bot commented on TS-2939:
------------------------------------
Github user jablko commented on the pull request:
https://github.com/apache/trafficserver/pull/97#issuecomment-49759988
Pulled as fd7365db20cda8d0ef120723f22baed0afb64288
> Metalink: Fix crash when checking the digest of a file that wasn't cacheable
> ----------------------------------------------------------------------------
>
> Key: TS-2939
> URL: https://issues.apache.org/jira/browse/TS-2939
> Project: Traffic Server
> Issue Type: Bug
> Reporter: Jack Bates
> Assignee: Jack Bates
> Fix For: sometime
>
>
> TSCacheRead() is reentrant particularly in case of a cache miss so its
> handler might execute sooner than expected particularly when the Metalink
> plugin is checking the digest of a file that wasn't cacheable. This
> TSCacheRead() handler will clean up an earlier TSVConnRead() buffer but
> CacheVC::openReadMain() will continue operating on the buffer and crash.
> Close the virtual connection to stop it from operating on the buffer.
--
This message was sent by Atlassian JIRA
(v6.2#6252)