flashpolicyd.rb
# Prints some basic stats about the server so far, bogus client are ones that timeout or otherwise cause problems
Prints some basic stats about the server so far, bogus client are ones that timeout or otherwise cause problems
Prints some basic stats about the server so far bogus client are ones that timeout or otherwise cause problems
def printstats
    u = sec2dhms(Time.new - @@starttime)
    info("Had #{@@totalclients} clients and #{@@bogusclients} bogus clients. Uptime #{u[0]} days #{u[1]} hours #{u[2]} min. #{@connections.size} connection(s) in use now.")
  end
def printstats u = sec2dhms ( Time . new - @@starttime ) info ( "Had #{@@totalclients} clients and #{@@bogusclients} bogus clients. Uptime #{u[0]} days #{u[1]} hours #{u[2]} min. #{@connections.size} connection(s) in use now." ) end
Prints some basic stats about the server so far, bogus client are ones that timeout or otherwise cause problems
Prints some basic stats about the server so far bogus client are ones that timeout or otherwise cause problems