1. 27 Apr, 2020 1 commit
  2. 23 Apr, 2020 1 commit
  3. 15 Apr, 2020 1 commit
  4. 14 Apr, 2020 8 commits
  5. 13 Apr, 2020 1 commit
  6. 12 Apr, 2020 4 commits
  7. 10 Apr, 2020 1 commit
  8. 09 Apr, 2020 7 commits
    • Nils Goroll's avatar
      flexelinting take 2 · d33f4a86
      Nils Goroll authored
      d33f4a86
    • Nils Goroll's avatar
      try to make flexelint happy · 7b61372c
      Nils Goroll authored
      		if (e - p < l1 + l2)
      ../../lib/libvarnishapi/vsl_arg.c  133  Info 776: Possible truncation of
          addition
      7b61372c
    • Nils Goroll's avatar
      stabilize vtc: tolerate more overflows · 05a068dd
      Nils Goroll authored
      depending on our platform and the timing of events, we might see another
      overflow.
      
      Seen with vtest
      
      ---- v1   Not true: ws_session_overflow (3) == 2 (2)
      05a068dd
    • Nils Goroll's avatar
      give timing critical test a bit more margin · e7ea0de7
      Nils Goroll authored
      we want to make sure that we do not hit timeout_idle as long as we stay
      below it, but the margin of just 100ms has triggered a false negative.
      Double the margin to 200ms...
      
      see with vtest (c4u lines extracted)
      
      **** c4u  Loop #3
      **   c4u  === delay 0.3
      ***  c4u  delaying 0.3 second(s)
      **** dT   2.025
      **   c4u  === sendhex 0d0a
      **** c4u  sendhex|  0d 0a
      ---- c4u  Write failed: Socket is not connected
      e7ea0de7
    • Nils Goroll's avatar
      fix oversight from previous commit · 83c23d9a
      Nils Goroll authored
      sorry, I overlooked the sixth spot from a total of five different source
      files.
      83c23d9a
    • Nils Goroll's avatar
      tabularize parameters to be passed to vcc · 430bbce9
      Nils Goroll authored
      Parameters are passed to vcc via specific setter functions, presumably
      to avoid binary compability issues between the main program (here:
      vanishd) and a library (here: libvcc).
      
      This commit does not change that interface in any way, but generates
      both sides from a common table include to avoid having to edit five
      spots in four different source files and write trivial setter functions
      for a simple mgt_vcc parameter change.
      430bbce9
    • Nils Goroll's avatar
      VDP/VFP sanity · d0a89676
      Nils Goroll authored
      * there is no NULL filter
      * the filter name cannot be NULL or empty
      d0a89676
  9. 05 Apr, 2020 5 commits
    • Nils Goroll's avatar
      some beresp.do_* flags are undefined after setting beresp.filters · a80d0362
      Nils Goroll authored
      See previous commit: Analogous to resp.do_esi, any access to the
      beresp.do_* flags which influence beresp.filters is now a VCL error.
      
      Ref #3002
      a80d0362
    • Nils Goroll's avatar
      resp.do_esi is undefined after setting resp.filters · 2b3c76a8
      Nils Goroll authored
      After fixing resp.filters, resp.do_esi loses its meaning.
      
      Note:
      
      Setting resp.filters also fixes whether or not the gunzip and range VDPs
      are being pushed.
      
      These do not depend on switches, but on request headers. So we need to
      consider the case that a VCL author
      
      	- fixes resp.filters
      	- and then adds or removes relevant headers
      
      * req.http.Accept-Encoding for the gunzip vdp
      
        if removed: gunzip stays in the VDP list, which is always ok
      
        if added: that is probably wrong anyway and the VCL author can
        be held responsible for their actions as per the warning in the
        resp.filters documentation.
      
      * req.http.Range for the range vdp
      
        if removed: the range vdp vetoes itself in the _init callback
      
        if added: no range handling will be present, which is always ok
        (and see above for VCL author responsibilities)
      
      Fixes #3002
      2b3c76a8
    • Nils Goroll's avatar
      NULL any filters for VRT_fail() and return(synth()) · ad176224
      Nils Goroll authored
      The synthetic response has nothing to do with the filters set for
      the original body.
      
      See next commit for implicit test
      ad176224
    • Nils Goroll's avatar
      Test resp.filters with esi, gunzip and range · 2ab29dc4
      Nils Goroll authored
      2ab29dc4
    • Nils Goroll's avatar
      esi can be turned off at esi_level > 0 · d099d7f6
      Nils Goroll authored
      d099d7f6
  10. 04 Apr, 2020 11 commits