kore

Kore is a web application platform for writing scalable, concurrent web based processes in C or Python.
Commits | Files | Refs | README | LICENSE | git clone https://git.kore.io/kore.git

commit da959e8275a6b093c9e0c0c73b0f3f2c91f78b48
parent 890eb78fd867cac2d96e0542f3f5275d070dd216
Author: Joris Vink <joris@coders.se>
Date:   Wed, 23 Oct 2019 12:38:31 +0200

reset curl timer if nothing is running anymore.

Diffstat:
src/curl.c | 5++++-
1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/curl.c b/src/curl.c @@ -193,8 +193,11 @@ kore_curl_cleanup(struct kore_curl *client) void kore_curl_do_timeout(void) { - while (timeout_immediate) + while (timeout_immediate) { curl_timeout(NULL, kore_time_ms()); + if (running == 0) + curl_timer(multi, -1, NULL); + } } size_t