MCPcopy Create free account
hub / github.com/apache/trafficserver / mainEvent

Method mainEvent

src/traffic_server/SocksProxy.cc:687–696  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

685 using SocksAccepterHandler = int (SocksAccepter::*)(int, void *);
686
687 int
688 mainEvent(int event, NetVConnection *netVC)
689 {
690 ink_assert(event == NET_EVENT_ACCEPT);
691 // Dbg(dbg_ctl_Socks, "Accepter got ACCEPT event");
692
693 new_SocksProxy(netVC);
694
695 return EVENT_CONT;
696 }
697
698 // There is no state used we dont need a mutex
699 SocksAccepter() : Continuation(nullptr) { SET_HANDLER(&SocksAccepter::mainEvent); }

Callers

nothing calls this directly

Calls 1

new_SocksProxyFunction · 0.85

Tested by

no test coverage detected