1. 23 Oct, 2019 1 commit
  2. 19 Sep, 2019 1 commit
    • Nils Goroll's avatar
      fix assertion failure when our vdp never ran · a0e5162d
      Nils Goroll authored
      When VDP_DeliverObj() was not called, for example for a head request or a
      return code which implies no response body, bytes_tree->npending == 0
      was not true.
      
      To avoid additional complications, we code the fact that the root node,
      if used, is pending into the npending_private field which meant for this
      purpose, but otherwise only accounts for nodes below it. Yet, this is
      not implied anywhere, so this use case should be perfectly fine.
      
      Also add a test for HEAD requests on an actual ESI object.
      
      Note on possible alternatives: I do not think a solution at VDP init
      time is possible because, after the vmod gets pushed from VCL, the
      response status could still be changed with effects on whether or not a
      response body is to be sent (e.g. changed from 200 to 204 after the VDP
      is pushed). So our only chance is to handle the case when the VDP gets
      called next after _init, which is just _fini.
      a0e5162d
  3. 03 Sep, 2019 2 commits
  4. 08 Aug, 2019 4 commits
  5. 07 Aug, 2019 2 commits
  6. 06 Aug, 2019 3 commits
  7. 05 Aug, 2019 1 commit
    • Nils Goroll's avatar
      fix panic in worklist_set_delivered · 3f1f32f7
      Nils Goroll authored
      when we prune the tree, we may the current node containing the link
      to the next unpending node may get freed, so we need to iterate using
      the _SAFE variant which saves it.
      3f1f32f7
  8. 04 Aug, 2019 16 commits
  9. 02 Aug, 2019 10 commits