trafficserver-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From oknet <...@git.apache.org>
Subject [GitHub] trafficserver pull request: remove alloc_cache from NetAccept
Date Tue, 08 Dec 2015 07:51:29 GMT
Github user oknet commented on the pull request:

    https://github.com/apache/trafficserver/pull/366#issuecomment-162803942
  
    Answers´╝Ü
    1. to implement an one shot accept (like a ftp pasv mode)
    2. accept_fn = net_accept, accept_fn is called from NetAccept
    3. the alloc_cache point to a vc, the vc may be a UnixNetVConnection, sslNetVConnection,
or others ...
    should dealloc it by netAllocate.free(), sslNetAllocate.free() ...
    It is hardly to get the vc's type inside the destructor of NetAccept.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message