[
https://issues.apache.org/jira/browse/TS-4664?focusedWorklogId=25540&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-25540
]
ASF GitHub Bot logged work on TS-4664:
--------------------------------------
Author: ASF GitHub Bot
Created on: 17/Jul/16 00:27
Start Date: 17/Jul/16 00:27
Worklog Time Spent: 10m
Work Description: Github user jpeach commented on a diff in the pull
request:
https://github.com/apache/trafficserver/pull/801#discussion_r71073823
--- Diff: proxy/ProxyClientSession.cc ---
@@ -142,7 +141,9 @@ ProxyClientSession::do_api_callout(TSHttpHookID id)
this->api_current = NULL;
if (this->hooks_on && this->has_hooks()) {
--- End diff --
```C
if (this->hooks_enabled() && this->has_hooks())
```
Issue Time Tracking
-------------------
Worklog Id: (was: 25540)
Time Spent: 50m (was: 40m)
> Crash due to separate event handlers for IO events and plugin events for
> ClientSession
> --------------------------------------------------------------------------------------
>
> Key: TS-4664
> URL: https://issues.apache.org/jira/browse/TS-4664
> Project: Traffic Server
> Issue Type: Bug
> Reporter: Susan Hinrichs
> Assignee: Susan Hinrichs
> Time Spent: 50m
> Remaining Estimate: 0h
>
> Found while tracking TS-4507 and original fix on that branch.
> Cleaned up handling regular events at the same time as plugin events. The
> original code relied on the subclasses overriding handle_api_event to handle
> the regular events, but the handler only handled the TIMEOUT event. Changed
> that to augment the subclasses' main event handler to call out to
> state_api_callout in the event of the plugin events.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)