Commit 97df12a6 authored by Steve Lhomme's avatar Steve Lhomme Committed by Rémi Denis-Courmont

httpd: turn the hardcoded default timeout into a CLOCK_FREQ based value

Signed-off-by: Rémi Denis-Courmont's avatarRémi Denis-Courmont <>
parent b431b24d
......@@ -1193,7 +1193,7 @@ static void httpd_ClientInit(httpd_client_t *cl, mtime_t now)
cl->i_activity_date = now;
cl->i_activity_timeout = INT64_C(10000000);
cl->i_activity_timeout = CLOCK_FREQ*10;
cl->i_buffer_size = HTTPD_CL_BUFSIZE;
cl->i_buffer = 0;
cl->p_buffer = xmalloc(cl->i_buffer_size);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment