Github user oknet commented on the issue:

    https://github.com/apache/trafficserver/pull/753
  
    @shinrich the "noisy" in UnixNetAccept, let me explain, there are 3 area to 
create a new netvc and init its members but disorder, I'm try to make it 
ordered as below in these 3 area.
    
        NET_SUM_GLOBAL_DYN_STAT(net_connections_currently_open_stat, 1); 
        vc->id = net_next_connection_number();
        vc->con.move(con);
        vc->submit_time = Thread::get_hrtime();
        vc->mutex  = new_ProxyMutex();
        // no need to set vc->action_
        vc->set_is_transparent(server.f_inbound_transparent);
        vc->options.packet_mark = packet_mark;
        vc->options.packet_tos  = packet_tos;
        vc->apply_options();
        vc->set_context(Net_VConnection_C2P);
        SET_CONTINUATION_HANDLER(vc, 
(NetVConnHandler)&UnixNetVConnection::mainEvent);
    
        // set thread and nh as acceptEvent does
        vc->thread = e->ethread;
        vc->nh = get_NetHandler(e->ethread);


---
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.
---

Reply via email to