GitHub user oknet opened a pull request:
https://github.com/apache/trafficserver/pull/366
remove alloc_cache from NetAccept
remove alloc_cache from NetAccept & net_accept() to avoid mem leak on
~NetAccept().
add a condition check for vc==NULL follow allocate_vc().
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/oknet/trafficserver master
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/trafficserver/pull/366.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #366
----
commit 37fd8eddf4008e0335b39995d669bab62e5719c7
Author: Oknet <[email protected]>
Date: 2015-12-07T14:13:42Z
remove alloc_cache from class NetAccept definition
commit 736fd108441ff0743e69d64c1b146e2c65f359d9
Author: Oknet <[email protected]>
Date: 2015-12-07T14:42:27Z
remove alloc_cache from net_accept()
remove alloc_cache from net_accept() to avoid mem leak on ~NetAccept()
commit 5243fa51a56cb51d84bd94db9981c1271f70f231
Author: Oknet <[email protected]>
Date: 2015-12-07T14:47:11Z
fix vc->con to con
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---