docs: document event & http loop

This commit is contained in:
Jef Roosens 2023-05-31 16:49:15 +02:00
parent 323fa65921
commit 62c42331d4
Signed by: Jef Roosens
GPG key ID: B75D4F293C7052DB
6 changed files with 177 additions and 31 deletions

View file

@ -115,7 +115,7 @@ bool http_loop_step_auth(event_loop_conn *conn) {
if ((strncmp("X-Api-Key", header->name, header->name_len) == 0) &&
(strncmp(header->value, ctx->g->api_key, header->value_len) == 0) &&
strlen(ctx->g->api_key) == header->value_len) {
(strlen(ctx->g->api_key) == header->value_len)) {
return true;
}
}