MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / cbm_http_server_stop

Function cbm_http_server_stop

src/ui/http_server.c:3531–3536  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3529}
3530
3531void cbm_http_server_stop(cbm_http_server_t *srv) {
3532 if (srv) {
3533 atomic_store(&srv->stop_flag, 1);
3534 cbm_httpd_interrupt(srv->listener);
3535 }
3536}
3537
3538bool cbm_http_server_schedule_run(cbm_http_server_t *srv) {
3539 if (!srv || !srv->listener_ok)

Callers 3

th_server_stopFunction · 0.85
test_httpd.cFile · 0.85

Calls 1

cbm_httpd_interruptFunction · 0.85

Tested by 1

th_server_stopFunction · 0.68