Jack Bates created TS-2939: ------------------------------ Summary: 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
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)