[
https://issues.apache.org/jira/browse/TS-4629?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Leif Hedstrom updated TS-4629:
------------------------------
Assignee: Alan M. Carroll
> ServerSessionPool::purge can use an invalid iterator
> ----------------------------------------------------
>
> Key: TS-4629
> URL: https://issues.apache.org/jira/browse/TS-4629
> Project: Traffic Server
> Issue Type: Bug
> Components: Core
> Reporter: Alan M. Carroll
> Assignee: Alan M. Carroll
> Fix For: 7.0.0
>
>
> {{purge}} calls {{do_io_close}} on the session via an iterator and
> {{do_io_close}} can cause the session to be de-allocated. Because the
> container links are intrusive this causes the iterator to be come invalid
> even though it hasn't been removed from the container.
> Also, in fixing this, I noticed {{IPHashTable::iterator}} didn't have a
> postfix increment operator, which I added because it's perfect for this
> application.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)