1. 21 Oct, 2020 5 commits
    • Dridi Boukelmoune's avatar
      param: Introduce the notion of VCC parameters · 17b53dbe
      Dridi Boukelmoune authored
      Just like string parameters, they need to be guarded by PARAM_ALL since
      they are not inherited by the cache process.
      
      Refs #3250
      17b53dbe
    • Dridi Boukelmoune's avatar
      param: Introduce the notion of string parameters · 7cb016a3
      Dridi Boukelmoune authored
      Following the model of simple parameters, it is possible to find a home
      for string parameters in params.h too. A new PARAM_STRING() macro deals
      with the specificities of such parameters.
      
      Since string parameters are typically not inherited by the cache process
      they are guarded by a PARAM_ALL macro that defines whether a subset or
      the whole list of parameters is processed when params.h is #include'd.
      
      Refs #3250
      7cb016a3
    • Dridi Boukelmoune's avatar
      param: Introduce the notion of simple parameters · 087329a5
      Dridi Boukelmoune authored
      The simple parameters are those that successfully migrated to params.h
      because they were trivial to declare in a way that could be used in all
      the places where they are needed.
      
      The PARAM() macro is now changed so that the outstanding `type` argument
      is separated from arguments matching struct parspec fields. To minimize
      disruption the new PARAM_SIMPLE() macro takes parameters in the order of
      the previous PARAM() definition.
      
      Refs #3250
      087329a5
    • Dridi Boukelmoune's avatar
      param: Promote mempools in the parameters table · e954c73d
      Dridi Boukelmoune authored
      We had everything we needed to make this happen, except for the mismatch
      between parameter names pool_xxx and struct member names xxx_pool.
      
      Refs #3250
      e954c73d
    • Dridi Boukelmoune's avatar
      man: Reference sources from $(srcdir) · 89a558e5
      Dridi Boukelmoune authored
      Better diff with the --word-diff --word-diff-regex=. options.
      89a558e5
  2. 20 Oct, 2020 2 commits
  3. 19 Oct, 2020 8 commits
  4. 15 Oct, 2020 4 commits
  5. 14 Oct, 2020 4 commits
  6. 12 Oct, 2020 1 commit
  7. 11 Oct, 2020 3 commits
  8. 10 Oct, 2020 5 commits
    • Dridi Boukelmoune's avatar
      vsl: Typo · 303ff55a
      Dridi Boukelmoune authored
      303ff55a
    • Nils Goroll's avatar
      try to stabilize vtc · 65e7c1f4
      Nils Goroll authored
      seen in vtest:
      
      **** v1   vsl|       1004 Begin           b bereq 1003 fetch
      **** v1   vsl|       1004 VCL_use         b vcl1
      **** v1   vsl|       1004 Timestamp       b Start: 1602334643.946723 0.000000 0.000000
      **** v1   vsl|       1004 BereqMethod     b PUT
      **** v1   vsl|       1004 BereqURL        b /2
      **** v1   vsl|       1004 BereqProtocol   b HTTP/1.1
      **** v1   vsl|       1004 BereqHeader     b Host: 127.0.0.1
      **** v1   vsl|       1004 BereqHeader     b Content-Length: 250000
      **** v1   vsl|       1004 BereqHeader     b X-Forwarded-For: 127.0.0.1
      **** v1   vsl|       1004 BereqMethod     b GET
      **** v1   vsl|       1004 BereqHeader     b Accept-Encoding: gzip
      **** v1   vsl|       1004 BereqHeader     b X-Varnish: 1004
      **** v1   vsl|       1004 VCL_call        b BACKEND_FETCH
      **** v1   vsl|       1004 VCL_return      b fetch
      **** v1   vsl|       1004 BackendOpen     b 26 s1 127.0.0.1 36579 127.0.0.1 60878 connect
      **** v1   vsl|       1004 Timestamp       b Bereq: 1602334643.956883 0.010159 0.010159
      **** v1   vsl|       1004 FetchError      b HTC eof (-1)
      
      Ref #3433
      65e7c1f4
    • Nils Goroll's avatar
      HSH_DerefObjCore signedness fix · 5367be3f
      Nils Goroll authored
      noticed by Dridi here:
      https://github.com/varnishcache/varnish-cache/pull/3434/commits/f9f40b991f301fb96d2e2d0d52b86c3d4b1f9f7f#r502302785
      
      The reference count returned already is an unsigned value
      5367be3f
    • Nils Goroll's avatar
      Fix request body reference count assertion · f7cc84a7
      Nils Goroll authored
      Test case by Reza, thank you
      
      Fixes #3433
      Closes #3434
      f7cc84a7
    • Nils Goroll's avatar
      polish shard director logging · 8c9cde8f
      Nils Goroll authored
      SLT_Notice requires messages to be prefixed by the vmod name. Using this
      format for notices only would appear inconsistent, so we change all
      shard log messages to that format.
      8c9cde8f
  9. 09 Oct, 2020 8 commits