1. 13 Apr, 2021 2 commits
  2. 12 Apr, 2021 10 commits
  3. 11 Apr, 2021 2 commits
  4. 10 Apr, 2021 2 commits
    • Nils Goroll's avatar
      varnishadm: use the -t argument as the timeout · 7c3db3fe
      Nils Goroll authored
      We used the -t argument only for the VSM attach, not for the actual CLI
      operations.
      
      I do not think the complication of differentiated timeouts is justified,
      so just use the one timeout parameter we have for both. Also I think
      that the documentation is already adequate in its simplicity:
      
             -t timeout
                    Wait no longer than this many seconds for an operation to
                    finish.
      
      Fixes #3542
      7c3db3fe
    • Nils Goroll's avatar
      vcc: Track the built-in subs which static calls originate from · cf9548ef
      Nils Goroll authored
      We use another "method" bitmask to record the built-in subs from which
      static calls originate.
      
      This allows us to indentify those subs which are called from
      housekeeping only, allowing us to selectively disable compiler
      optimizations.
      
      VGC diff for the example from
      https://github.com/varnishcache/varnish-cache/issues/3545#issue-824634168
      
      ```diff
      @@ -2242,7 +2278,7 @@
      
       #define END_ if (*ctx->handling) return
      
      -void v_matchproto_(vcl_func_f)
      +void v_dont_optimize v_matchproto_(vcl_func_f)
       VGC_function_a(VRT_CTX, enum vcl_func_call_e call,
           enum vcl_func_fail_e *failp)
       {
      ```
      
      Fixes #3545
      cf9548ef
  5. 06 Apr, 2021 2 commits
  6. 02 Apr, 2021 1 commit
  7. 01 Apr, 2021 1 commit
  8. 31 Mar, 2021 2 commits
  9. 30 Mar, 2021 4 commits
  10. 29 Mar, 2021 13 commits
  11. 27 Mar, 2021 1 commit
    • Nils Goroll's avatar
      Silence gcc strict aliasing warnings where vtree.h is used · 599b183d
      Nils Goroll authored
      Please relace the vtree.h #pragma change of this commit with a better
      solution once you have one.
      
      777e03ba had the disadvantage that it
      requires all vmods to adjust their build, besides affecting more code
      than necessary.
      
      Under the assumption that the issue with VRBT is not acutally a
      violation of strict aliasing, but rather only a violation of gcc's
      pedantic "compatible lvalue rule", we silence gcc warnings rather than
      turning off strict aliasing.
      
      Note that this is more convenient, but also more dangerous, because we
      fail to catch any actual strict aliasing errors where vtree.h is used.
      
      This reverts commit 777e03ba.
      599b183d