1. 06 Jun, 2023 1 commit
  2. 22 May, 2023 5 commits
  3. 16 May, 2023 2 commits
  4. 15 May, 2023 12 commits
  5. 12 May, 2023 1 commit
  6. 10 May, 2023 3 commits
  7. 09 May, 2023 6 commits
  8. 08 May, 2023 3 commits
    • Nils Goroll's avatar
      Add (be)req.trace and feature +trace to control generation of VCL_trace logs · f6ef5927
      Nils Goroll authored
      To potentially emit VCL_trace VSL records, we called VPI_count() from
      VGC for, in the extreme, every line of VCL.
      
      For a normal setup, VPI_count() would call into VSL only to find out
      that VCL_trace is masked and not have any effect.
      
      Issuing two additional function calls for each line of VCL obviously
      is something we should avoid unless there is a real benefit.
      
      To avoid the overhead, we move the check for the tracing flag to VGC
      and decorate it with UNLIKELY(), which has no effect for now but is
      expected to become a branch prediction hint soon.
      
      This should bring the cost down close to zero.
      
      Being at it, we also add VCL control over tracing through req.trace
      and bereq.trace. req.trace gets initialized from feature +trace, and
      bereq.trace inherits the value from req.trace. For now, tracing of the
      housekeeping subs vcl_init and vcl_fini can only be controlled through
      feature +trace.
      f6ef5927
    • Nils Goroll's avatar
      Changelog TLC · 10b1eff8
      Nils Goroll authored
      10b1eff8
    • Nils Goroll's avatar
      Improve http1_iovs_flush documentation · f60995b8
      Nils Goroll authored
      f60995b8
  9. 04 May, 2023 3 commits
  10. 01 May, 2023 1 commit
  11. 26 Apr, 2023 1 commit
  12. 25 Apr, 2023 1 commit
  13. 24 Apr, 2023 1 commit
    • Nils Goroll's avatar
      Close VDPs for error conditions in cnt_transmit() · 6d423aa5
      Nils Goroll authored
      ... and use the pedantic VDP to test that we do.
      
      This should plug some less relevant memory leaks from VDPs which
      allocate heap memory.
      
      Note that we should not close VDPs for the happy path to allow
      transports to keep them open until after cnt_transmit returns (e.g. in
      vmod_pesi).
      
      Calling VDP_Close() from cnt_transmit() avoids repetition for error
      handling in transports.
      6d423aa5