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