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

Comparing Coro/myhttpd/diridx.pl (file contents):
Revision 1.27 by root, Mon Dec 3 21:45:45 2001 UTC vs.
Revision 1.28 by root, Tue Dec 4 02:46:29 2001 UTC

232 my ($name, $queue) = @$_; 232 my ($name, $queue) = @$_;
233 my @waiters = $queue->waiters; 233 my @waiters = $queue->waiters;
234 $waiters[$_]{idx} = $_ + 1 for 0..$#waiters; 234 $waiters[$_]{idx} = $_ + 1 for 0..$#waiters;
235 235
236 if (@waiters) { 236 if (@waiters) {
237 $content .= "<li>$name<br />".(scalar @waiters)." client(s); $queue->{started} downloads started;"; 237 $content .= "<li>$name<br />".(scalar @waiters)." client(s); $queue->{started} downloads started; $queue->{slots} slots free;";
238 238
239 $content .= "<p>Waiting time until download starts, estimated:<ul>"; 239 $content .= "<p>Waiting time until download starts, estimated:<ul>";
240 for ( 240 for (
241 ["by most recently started transfer", $queue->{lastspb}], 241 ["by most recently started transfer", $queue->{lastspb}],
242 ["by queue average", $queue->{avgspb}], 242 ["by queue average", $queue->{avgspb}],

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines