| 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); } |
nothing calls this directly
no test coverage detected