kore

An easy to use, scalable and secure web application framework for writing web APIs in C.
Commits | Files | Refs | README | LICENSE | git clone https://git.kore.io/kore.git

commit c3b2a8b2a2717084cffdfa05c1c4e2c853617ea3
parent 868b0a71a2d0f63a3465186db0bf839b84bf28f7
Author: Joris Vink <joris@coders.se>
Date:   Fri, 20 Sep 2019 09:37:02 +0200

fix NOHTTP builds

Diffstat:
src/worker.c | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/worker.c b/src/worker.c @@ -429,8 +429,10 @@ kore_worker_entry(struct kore_worker *kw) netwait = kore_timer_next_run(now); +#if !defined(KORE_NO_HTTP) if (netwait == KORE_WAIT_INFINITE && http_request_count > 0) netwait = 100; +#endif kore_platform_event_wait(netwait); now = kore_time_ms();