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

Function synserver_stop

src/api/InkAPITest.cc:856–867  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

854}
855
856static int
857synserver_stop(SocketServer *s)
858{
859 TSAssert(s->magic == MAGIC_ALIVE);
860 if (s->accept_action && !TSActionDone(s->accept_action)) {
861 TSActionCancel(s->accept_action);
862 s->accept_action = nullptr;
863 Dbg(dbg_ctl_SockServer, "Had to cancel action");
864 }
865 Dbg(dbg_ctl_SockServer, "stopped");
866 return 1;
867}
868
869static int
870synserver_delete(SocketServer *s)

Callers 1

synserver_deleteFunction · 0.85

Calls 2

TSActionDoneFunction · 0.85
TSActionCancelFunction · 0.85

Tested by

no test coverage detected