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 ceb67f172c7b442f9628c9c531e1dc2c4baa302d
parent a33ce78a19bd827893743b5c96018630183302a9
Author: Joris Vink <joris@coders.se>
Date:   Mon,  9 Apr 2018 12:20:26 +0000

fix building with NOHTTP=1.

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

diff --git a/src/connection.c b/src/connection.c @@ -166,8 +166,10 @@ kore_connection_check_timeout(u_int64_t now) continue; if (!(c->flags & CONN_IDLE_TIMER_ACT)) continue; +#if !defined(KORE_NO_HTTP) if (!TAILQ_EMPTY(&c->http_requests)) continue; +#endif kore_connection_check_idletimer(now, c); } }