GitHub user hopkings2008 opened a pull request: https://github.com/apache/trafficserver/pull/164
[TS-3235] fix crash problem caused by sync problem in PluginVC. This fix is for the multi-thread sync problem exists in PluginVC of TS-3235. Below is the scenario of this problem: 1. customer uses interceptplugin which calls TSVIOReenable and TSVConnClose and that will call PluginVC's APIs in their work threads 2. That customer creates their work threads by using TSThreadCreate which are not controlled by ATS. 3. Because the interceptplugin works in their work threads and the lock provided by interceptplugin can only sync their work threads and it cannot sync the threads between ATS and interceptplugin, the sync problem will occur when TSVIOReenable and TSVConnClose are called from intercetplugin in customer's work threads. So, we need to consider this kind of scenario also, as it is common to customer to start their threads. You can merge this pull request into a Git repository by running: $ git pull https://github.com/yahoo/trafficserver TS-3235 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/trafficserver/pull/164.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 #164 ---- commit e1ee3f517a6a916056bd95a4a3c78f3d81685da3 Author: zouyu <z...@yahoo-inc.com> Date: 2015-01-21T08:12:12Z [TS-3235] fix crash problem caused by sync problem in PluginVC. ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---