[
https://issues.apache.org/jira/browse/TS-4280?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15213250#comment-15213250
]
ASF subversion and git services commented on TS-4280:
-----------------------------------------------------
Commit d38c09ca48deb3dfbf58807d46fbceebb47cff57 in trafficserver's branch
refs/heads/master from [~zwoop]
[ https://git-wip-us.apache.org/repos/asf?p=trafficserver.git;h=d38c09c ]
TS-4280 Refactors the gzip plugin to improve hooks and memory usage
This accomplishes three things:
1) Fix memory leak on config reload (ref-counting)
2) Reduces the number of global hooks, which then
3) Allows to eliminate the usage of all TXN data slots
This closes #534
> Refactor gzip plugin to eliminate memory leak and reduce global hooks
> ---------------------------------------------------------------------
>
> Key: TS-4280
> URL: https://issues.apache.org/jira/browse/TS-4280
> Project: Traffic Server
> Issue Type: Bug
> Components: Plugins
> Reporter: Leif Hedstrom
> Assignee: Leif Hedstrom
> Fix For: 6.2.0
>
>
> I'd like to achieve three things with this refactoring:
> 1) Reduce the number of global hooks (this makes TS-4147 nicer)
> 2) Eliminate all use of TXN data slots (it now uses 3, which is very
> excessive, and we can get away with using none, thanks to 1) ).
> 3) Fix the memory leaks on configuration reloads, by ref-counting the
> HostConfiguration's properly through the TXN's lifetime.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)