From 51006b3f8dc4296207d4ffddb4a04215222364ac Mon Sep 17 00:00:00 2001 From: fros4943 Date: Mon, 9 Feb 2009 13:04:37 +0000 Subject: [PATCH] webserver bugfix, caused nightly wget test to fail: * too many timer_reset will naively increase the start-time, even though timer has not expired. use timer_restart instead --- apps/webserver/httpd-cfs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/webserver/httpd-cfs.c b/apps/webserver/httpd-cfs.c index 377c46bb2..6f10a07ae 100644 --- a/apps/webserver/httpd-cfs.c +++ b/apps/webserver/httpd-cfs.c @@ -30,7 +30,7 @@ * * Author: Adam Dunkels * - * $Id: httpd-cfs.c,v 1.10 2008/02/21 09:25:54 oliverschmidt Exp $ + * $Id: httpd-cfs.c,v 1.11 2009/02/09 13:04:37 fros4943 Exp $ */ #include @@ -227,7 +227,7 @@ httpd_appcall(void *state) webserver_log_file(&uip_conn->ripaddr, "reset (timeout)"); } } else { - timer_reset(&s->timer); + timer_restart(&s->timer); } handle_connection(s); } else {