Displaying 1 result from an estimated 1 matches for "flushfix".
Did you mean:
flush_id
2007 Feb 13
2
[PATCH] Eternal flush, memory leaks
...p_outgoing_connection()
event. Events are added as fast as they are taken away, and the flush
never terminates. And apparently connections are only removed in
build_fdset() and terminate_connection(), which aren't getting called
in this tight loop.
I've attached a patch (tinc-1.0.7-flushfix.patch) that only flushes
events that already exist. I've also attached a patch (flush-1.0.7-
leaks.patch) that fixes a couple minor memory leaks I spotted in
"valgrind --tool=memcheck" output while looking for this problem.
Cheers,
Scott
--
Scott Lamb <http://www.slamb.org/...