[ 
https://issues.apache.org/jira/browse/TS-4664?focusedWorklogId=25635&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-25635
 ]

ASF GitHub Bot logged work on TS-4664:
--------------------------------------

                Author: ASF GitHub Bot
            Created on: 18/Jul/16 14:37
            Start Date: 18/Jul/16 14:37
    Worklog Time Spent: 10m 
      Work Description: Github user shinrich commented on the issue:

    https://github.com/apache/trafficserver/pull/801
  
    I'm not sure how to interpret your comment.  I was seeing IO events 
trailing during the SSN close handling.  For example, it looks like I could 
call the clearing do_io_write in Http1ClientSession::destroy() instead of 
Http1ClientSession::free().
    
    However, it seems that having a single handler deal with both sets of 
events (I/O and plugin) is more resilient.


Issue Time Tracking
-------------------

    Worklog Id:     (was: 25635)
    Time Spent: 1h 20m  (was: 1h 10m)

> 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
>             Fix For: 7.0.0
>
>          Time Spent: 1h 20m
>  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)

Reply via email to