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:2013–2018  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2011}
2012
2013void cbm_http_server_stop(cbm_http_server_t *srv) {
2014 if (srv) {
2015 atomic_store(&srv->stop_flag, 1);
2016 cbm_httpd_interrupt(srv->listener);
2017 }
2018}
2019
2020bool cbm_http_server_schedule_run(cbm_http_server_t *srv) {
2021 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