You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

52 lines
2.2 KiB

  1. From 531485c08ffb15b939a28ecf47090e4c93341d1b Mon Sep 17 00:00:00 2001
  2. From: Willy Tarreau <w@1wt.eu>
  3. Date: Tue, 16 Sep 2014 15:48:15 +0200
  4. Subject: [PATCH 05/13] DOC: indicate in the doc that track-sc* can wait if
  5. data are missing
  6. Since commit 1b71eb5 ("BUG/MEDIUM: counters: fix track-sc* to wait on
  7. unstable contents"), we don't need the "if HTTP" anymore. But the doc
  8. was not updated to reflect this.
  9. Since this change was backported to 1.5, this doc update should be
  10. backported as well.
  11. (cherry picked from commit 4d54c7ca0286588de5060acce9aff8aa9645bb98)
  12. ---
  13. doc/configuration.txt | 10 +++++-----
  14. 1 file changed, 5 insertions(+), 5 deletions(-)
  15. diff --git a/doc/configuration.txt b/doc/configuration.txt
  16. index 1ecf15a..3c75c92 100644
  17. --- a/doc/configuration.txt
  18. +++ b/doc/configuration.txt
  19. @@ -7470,9 +7470,9 @@ tcp-request content <action> [{if | unless} <condition>]
  20. contents will always be immediately present when the rule is evaluated first.
  21. Tracking layer7 information is also possible provided that the information
  22. - are present when the rule is processed. The current solution for making the
  23. - rule engine wait for such information is to set an inspect delay and to
  24. - condition its execution with an ACL relying on such information.
  25. + are present when the rule is processed. The rule processing engine is able to
  26. + wait until the inspect delay expires when the data to be tracked is not yet
  27. + available.
  28. Example:
  29. # Accept HTTP requests containing a Host header saying "example.com"
  30. @@ -7497,12 +7497,12 @@ tcp-request content <action> [{if | unless} <condition>]
  31. Example:
  32. # Track the last IP from X-Forwarded-For
  33. tcp-request inspect-delay 10s
  34. - tcp-request content track-sc0 hdr(x-forwarded-for,-1) if HTTP
  35. + tcp-request content track-sc0 hdr(x-forwarded-for,-1)
  36. Example:
  37. # track request counts per "base" (concatenation of Host+URL)
  38. tcp-request inspect-delay 10s
  39. - tcp-request content track-sc0 base table req-rate if HTTP
  40. + tcp-request content track-sc0 base table req-rate
  41. Example: track per-frontend and per-backend counters, block abusers at the
  42. frontend when the backend detects abuse.
  43. --
  44. 1.8.5.5