docs: document event & http loop
This commit is contained in:
parent
323fa65921
commit
62c42331d4
6 changed files with 177 additions and 31 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue