[
https://issues.apache.org/jira/browse/TS-4650?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15629953#comment-15629953
]
Phil Sorber commented on TS-4650:
---------------------------------
I know I am late to the show, be we should have converted this to Regex class.
I'll merge the back port as is, but maybe [~ftarnell] is interested in doing
the Regex conversion work in another issue?
> cachekey: not thread safe
> -------------------------
>
> Key: TS-4650
> URL: https://issues.apache.org/jira/browse/TS-4650
> Project: Traffic Server
> Issue Type: Bug
> Components: Plugins
> Affects Versions: 6.2.0
> Reporter: Felicity Tarnell
> Assignee: Felicity Tarnell
> Fix For: 7.0.0
>
> Time Spent: 2h 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)