1. 13 Nov, 2019 7 commits
    • Nils Goroll's avatar
      give PRIV_TOP a head separate from (req)PRIV_TASK in struct reqtop · 542bf9b8
      Nils Goroll authored
      This fixes #3003 properly
      
      restore tests/r02219.vtc to the same headroom as before
      
      we need additional workspace for the priv_top which now always gets
      initialized (32 bytes on my machine)
      542bf9b8
    • Nils Goroll's avatar
      move vcl0 to req->top · fc04ea21
      Nils Goroll authored
      Also fix some errors in vcl0 handling:
      
      - Only the top request may release vcl0 because it owns it
      - because we can re-embark for ESI, we can not assert that vcl0 is NULL
        in CNT_Embark()
      
      passes tests/r02849.vtc again.
      
      still fails r03003.vtc, which will get fixed in a follow up commit
      
      Fixes #3019 with test case by @Dridi
      fc04ea21
    • Nils Goroll's avatar
      give all requests a struct reqtop · 244705bd
      Nils Goroll authored
      Dynamically creating it through Req_MakeTop() would further complicate
      rollbacks.
      
      The memory overhead is basically identical to embedding struct reqtop
      into struct req, except that, for ESI, we have the (struct req).top
      point to the top request's struct reqtop.
      
      With this commit, tests/r02849.vtc and tests/r03003.vtc are failing as
      excpected. While this may impose issues with git bisect, I still think
      that this extra commit helps clarity.
      244705bd
    • Nils Goroll's avatar
      Revert "Now that we have decided bump VRT_MAJOR, drop the reqtop struct" · a8e34499
      Nils Goroll authored
      This reverts commit d6799345.
      
      We will use struct reqtop for vcl0 and PRIV_TOP in follow-up commits.
      a8e34499
    • Nils Goroll's avatar
      Reinstantiate "actually, the scope must not change either" · 6dfcc79d
      Nils Goroll authored
      This reverts commit d6d34160 which
      reverted 86af5ce0.
      
      The regression documented in #3003 will be solved differently in
      follow-up commits.
      
      r03003.vtc added in d6d34160 is kept
      6dfcc79d
    • Nils Goroll's avatar
      ws ocd · fe687fbe
      Nils Goroll authored
      fe687fbe
    • Nils Goroll's avatar
      h2: do not send zero data frames · 391b4551
      Nils Goroll authored
      I noticed that the stream 0 header accounting changes with len == 0 VDP
      bytes, which seems useless.
      391b4551
  2. 12 Nov, 2019 1 commit
  3. 11 Nov, 2019 8 commits
  4. 10 Nov, 2019 1 commit
  5. 09 Nov, 2019 1 commit
  6. 08 Nov, 2019 4 commits
    • Dridi Boukelmoune's avatar
      Apply bandaid to missing VMOD symbol errors · 46a6a3af
      Dridi Boukelmoune authored
      The VCL compilation error message when a VMOD symbol does not exist
      simply disappeared. When I figured how to bring it back I was lucky
      my test case exhibited another quirk for the following case:
      
          new foo = bar.foo()
      
      Where bar is a successfully imported VMOD, and foo is the missing
      constructor. For some reason instance symbols are created with VCL
      low and high values, so the missing foo constructor ended up being
      confused with the existing foo instance.
      
      The regression I initially hunted down (the lack of error message
      in the first place) was introduced by 340abd04. I suggest we
      don't give VMOD-induced symbols a VCL low/high since by definition
      they are not tied to a VCL version (even though they may do so at
      run time) and use that criteria to filter out the spurious error
      message:
      
      > Symbol not found: 'directors.foo' (Only available when 4.0 <= VCL
      > syntax <= 4.0)
      
      If there is no proper low or high (and 4.0 is legit) then we don't
      print the "Only available when" part? For now I needed the bandaid.
      
      Refs 340abd04
      46a6a3af
    • Dridi Boukelmoune's avatar
      Avoid VSB_printf for plain text · bd3b87ba
      Dridi Boukelmoune authored
      We have a new printf_nofmt.cocci semantic patch to catch future
      offenders.
      bd3b87ba
    • Poul-Henning Kamp's avatar
      Eliminate a level of structure on vrt_privs, the extra 'magic' does · 7532c3a7
      Poul-Henning Kamp authored
      not buy us anything because the compiler can see at all times what
      goes on.
      7532c3a7
    • Poul-Henning Kamp's avatar
      Don't replicate existing default code. · d9195348
      Poul-Henning Kamp authored
      d9195348
  7. 07 Nov, 2019 2 commits
  8. 06 Nov, 2019 5 commits
  9. 05 Nov, 2019 3 commits
  10. 04 Nov, 2019 3 commits
  11. 02 Nov, 2019 1 commit
  12. 01 Nov, 2019 2 commits
  13. 31 Oct, 2019 2 commits