| 854 | } |
| 855 | |
| 856 | static int |
| 857 | synserver_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 | |
| 869 | static int |
| 870 | synserver_delete(SocketServer *s) |
no test coverage detected