[
https://issues.apache.org/jira/browse/TS-4650?focusedWorklogId=25435&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-25435
]
ASF GitHub Bot logged work on TS-4650:
--------------------------------------
Author: ASF GitHub Bot
Created on: 12/Jul/16 16:20
Start Date: 12/Jul/16 16:20
Worklog Time Spent: 10m
Work Description: GitHub user ftarnell opened a pull request:
https://github.com/apache/trafficserver/pull/792
TS-4650: cachekey: not thread safe
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/torchbox/trafficserver ts4650
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/trafficserver/pull/792.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 #792
----
----
Issue Time Tracking
-------------------
Worklog Id: (was: 25435)
Time Spent: 10m
Remaining Estimate: 0h
> cachekey: not thread safe
> -------------------------
>
> Key: TS-4650
> URL: https://issues.apache.org/jira/browse/TS-4650
> Project: Traffic Server
> Issue Type: Bug
> Reporter: Felicity Tarnell
> Time Spent: 10m
> Remaining Estimate: 0h
>
> cachekey's Pattern class is not thread safe; it uses member data to store the
> result of pcre_exec(), but only one instance is shared between all threads.
> This causes crashes when two threads access the pcre result at the same time.
> Fix: use automatic storage for the pcre result data.
> PR incoming.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)