You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Jack Bates (JIRA)" <ji...@apache.org> on 2014/07/22 18:16:40 UTC
[jira] [Resolved] (TS-2939) Metalink: Fix crash when checking the
digest of a file that wasn't cacheable
[ https://issues.apache.org/jira/browse/TS-2939?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jack Bates resolved TS-2939.
----------------------------
Resolution: Fixed
> 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)