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:
parent
98f7f9a06a
commit
51006b3f8d
1 changed files with 2 additions and 2 deletions
|
@ -30,7 +30,7 @@
|
||||||
*
|
*
|
||||||
* Author: Adam Dunkels <adam@sics.se>
|
* 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>
|
#include <string.h>
|
||||||
|
@ -227,7 +227,7 @@ httpd_appcall(void *state)
|
||||||
webserver_log_file(&uip_conn->ripaddr, "reset (timeout)");
|
webserver_log_file(&uip_conn->ripaddr, "reset (timeout)");
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
timer_reset(&s->timer);
|
timer_restart(&s->timer);
|
||||||
}
|
}
|
||||||
handle_connection(s);
|
handle_connection(s);
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue