ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/Coro/myhttpd/httpd.pl
(Generate patch)

Comparing Coro/myhttpd/httpd.pl (file contents):
Revision 1.73 by root, Sat Oct 5 09:02:17 2002 UTC vs.
Revision 1.74 by root, Fri Oct 25 13:51:39 2002 UTC

212sub prune_caches { 212sub prune_caches {
213 prune_cache \%conn; 213 prune_cache \%conn;
214 prune_cache \%uri; 214 prune_cache \%uri;
215 215
216 for (keys %blocked) { 216 for (keys %blocked) {
217 delete $blocked{$_} if $blocked{$_}[0] > $::NOW; 217 delete $blocked{$_} unless $blocked{$_}[0] > $::NOW;
218 } 218 }
219} 219}
220 220
221Event->timer(interval => 60, cb => \&prune_caches); 221Event->timer(interval => 60, cb => \&prune_caches);
222 222

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines