xotcl-request-monitor

  • last updated 13 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
provide nicer relative times

Rename string_truncate and string_truncate_middle to comply with OpenACS naming convention, create deprecated wrappers, replace occurrences

As string_truncate_middle was defined in xotcl-request-monitor, bring it to acs-tcl instead

    • -10
    • +10
    ./tcl/test/throttle_mod-test-procs.tcl
  1. … 8 more files in changeset.
Rename clock_to_ansi to lc_clock_to_ansi to comply with naming convention, replace occurrences, create deprecated wrapper

  1. … 5 more files in changeset.
handle newer versions of [ns_writer list] returning as well rate management info

Remove unnecessary 'aa_run_with_teardown'

    • -12
    • +8
    ./tcl/test/throttle_mod-test-procs.tcl
  1. … 3 more files in changeset.
improve spelling

prefer "nsf::is object" over ":isobject" or "info commands", since it is faster, more generic and can be used in all contexts

  1. … 3 more files in changeset.
make sure, the dump fiile does not grow infinitely

adjust for boandwith management in NaviServer

modernize code: use resolver variables rather than method calls

  1. … 6 more files in changeset.
Add automated test for the 'string_truncate_middle'. Many thanks to Hanifa Hasan

    • -0
    • +35
    ./tcl/test/throttle_mod-test-procs.tcl
file throttle_mod-test-procs.tcl was initially added on branch oacs-5-10.

    • -0
    • +0
    ./tcl/test/throttle_mod-test-procs.tcl
don't start accidentially thread via monitoring

improve documentation and make clear that strong dependency

of request monitor on bgdelivery does not exist anymore

use ns_asynclogfile instead of bgdelivery when available

Fix missing XML trailing slash

prefer ::acs::icanuse over local tests

provide unit to statistics output

avoid double substitutions

  1. … 2 more files in changeset.
add csp rules for bootstrap style files

use URN version of jquery when available

improve spelling

  1. … 8 more files in changeset.
provide performance feedback on the level of partial times

whitespace and comment changes

- make sure to get rid over overdue elements from statistics

- improve comments

switch from security::nonce_token to ::security::csp::nonce

The latter one is available since more then two years in OpenACS.

provide a better rejection message, for over-eager users

Introduce additional parameter "do_slowdown_overactive" (default off) for slowing down overactive users.

previously, this was on (when do_throttle was activated) causing sleep operations. However, even these

sleep operations can kill the server since it also blocks connection threads.

Treat all video/* content types as embedded content.

Background: many video player do a series of range requests (which are typically pretty cheap) that we do not want to block.

remove old tlf exercise statistics