from trunk: Clear the timer cache when leaving the event loop; reported by Robin Haberkorn

svn:r951
This commit is contained in:
Niels Provos 2008-11-27 19:29:22 +00:00
parent 0a41d762ec
commit e92d88c576
2 changed files with 4 additions and 0 deletions

View File

@ -3,6 +3,7 @@ Changes in 1.4.9-stable:
o Clear the timer cache on entering the event loop; reported by Victor Chang
o Only bind the socket on connect when a local address has been provided; reported by Alejo Sanchez
o Allow setting of local port for evhttp connections to support millions of connections from a single system; from Richard Jones.
o Clear the timer cache when leaving the event loop; reported by Robin Haberkorn
Changes in 1.4.8-stable:
o Match the query in DNS replies to the query in the request; from Vsevolod Stakhov.

View File

@ -543,6 +543,9 @@ event_base_loop(struct event_base *base, int flags)
done = 1;
}
/* clear time cache */
base->tv_cache.tv_sec = 0;
event_debug(("%s: asked to terminate loop.", __func__));
return (0);
}