[
https://issues.apache.org/jira/browse/TS-2939?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14069368#comment-14069368
]
ASF GitHub Bot commented on TS-2939:
------------------------------------
GitHub user jablko opened a pull request:
https://github.com/apache/trafficserver/pull/97
TS-2939 Metalink: Fix crash when checking the digest of a file that wasn't
cacheable
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/jablko/trafficserver TS-2939
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/trafficserver/pull/97.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #97
----
commit 1fbe04899fdfc6e21a7a6adb866ee99972ce44e3
Author: Jack Bates <[email protected]>
Date: 2014-07-16T20:00:29Z
Metalink: Cosmetic
commit bc82116a6d978141c0796bce097034d07f605957
Author: Jack Bates <[email protected]>
Date: 2014-07-16T20:50:56Z
TS-2939 Metalink: Fix crash when checking the digest of a file that wasn't
cacheable
----
> 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)