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

Function socket_shutdown

src/ui/httpd.c:144–150  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

142}
143
144static void socket_shutdown(cbm_sock_t fd) {
145#ifdef _WIN32
146 (void)shutdown(fd, SD_BOTH);
147#else
148 (void)shutdown(fd, SHUT_RDWR);
149#endif
150}
151
152static bool connection_interrupted(cbm_http_conn_t *connection) {
153 cbm_httpd_t *owner = connection->owner;

Callers 2

cbm_httpd_interruptFunction · 0.85
cbm_httpd_closeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected