[
https://issues.apache.org/jira/browse/TS-4056?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15202406#comment-15202406
]
ASF subversion and git services commented on TS-4056:
-----------------------------------------------------
Commit fbb5c07162bc6d3a8b44bc2a0d30b6cbeb2153bc in trafficserver's branch
refs/heads/master from Oknet
[ https://git-wip-us.apache.org/repos/asf?p=trafficserver.git;h=fbb5c07 ]
TS-4056: Remove cached netVC from NetAccept.
This close #381.
> MemLeak: ~NetAccept() do not free alloc_cache(vc)
> -------------------------------------------------
>
> Key: TS-4056
> URL: https://issues.apache.org/jira/browse/TS-4056
> Project: Traffic Server
> Issue Type: Bug
> Components: Core
> Affects Versions: 6.1.0
> Reporter: Oknet Xu
> Assignee: Bryan Call
> Labels: review
> Fix For: 6.2.0
>
>
> NetAccpet::alloc_cache is a void pointor is used in net_accept().
> the alloc_cache does not release after NetAccept canceled.
> I'm looking for all code, believe the "alloc_cache" is a bad idea here.
> I create a pull request on github:
> https://github.com/apache/trafficserver/pull/366
> also add a condition check for vc==NULL after allocate_vc()
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)