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
This commit is contained in:
fros4943 2009-02-09 13:04:37 +00:00
parent 98f7f9a06a
commit 51006b3f8d

View File

@ -30,7 +30,7 @@
*
* Author: Adam Dunkels <adam@sics.se>
*
* $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 <string.h>
@ -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 {