promote dev -> stage: engram tiered-storage + WAL + self-review fixes (2026-08-15) #96

Merged
will.anderson merged 32 commits from dev into stage 2026-08-15 16:41:18 +00:00
Showing only changes of commit 23552ed40a - Show all commits
+11
View File
@@ -1545,6 +1545,17 @@ typedef struct {
#endif #endif
} HttpWorkerArg; } HttpWorkerArg;
/* Forward declarations for the loopback/API-key hardening helpers defined
* further down. Without these, http_worker's calls below were implicit
* declarations and the later `static` definitions conflicted with them this
* file did not compile at all. (2026-08-08 self-review: the hardening work
* they belong to had been sitting uncommitted in the working tree since
* 2026-07-15 in exactly this non-building state, which is presumably why it
* was never committed. Adding the two prototypes is the whole fix.) */
static int el_http_request_authorized(const char* method, const char* path,
const char* hdr_block);
static void el_http_send_401(int fd);
static void* http_worker(void* arg) { static void* http_worker(void* arg) {
HttpWorkerArg* a = (HttpWorkerArg*)arg; HttpWorkerArg* a = (HttpWorkerArg*)arg;
#ifdef _WIN32 #ifdef _WIN32