ci: make official engram build store-enabled (publish + link engram_store.{c,h}) #95
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user