1. 04 Apr, 2020 8 commits
    • Nils Goroll's avatar
      flexelinting · 87d003e6
      Nils Goroll authored
      const char *const bindings_help[] = {
      varnishstat_curses_help.c  9  Note 9075: external symbol 'bindings_help'
          defined without a prior declaration
                                  _
      const int bindings_help_len = 65;
      varnishstat_curses_help.c  78  Note 9075: external symbol
      'bindings_help_len'
          defined without a prior declaration
      87d003e6
    • Nils Goroll's avatar
      stabilize varnishstat curses mode test · 41317786
      Nils Goroll authored
      Could be that there is the bereq # printed right next to the client |
      as in this vtest result:
      
      **   top  === process p1 -expect-text 22 0 { | }
      **** dT   3.593
      **** v1   vsl|          0 CLI             - Rd ping
      **** v1   vsl|          0 CLI             - Wr 200 19 PONG 1585796425 1.0
      **** dT   3.806
      **** p1   stdout|\x1b[1;10H2\x1b[22;24H|#
      41317786
    • Nils Goroll's avatar
      make test less timing sensitive · 548a4e6e
      Nils Goroll authored
      when the second request did not happen within the default
      backend_remote_error_holddown == 0.25s, we would see two ECONNREFUSED
      instead of one and a holddown.
      
      Seen in vtest:
      
      **   top  === varnish v1 -expect VBE.vcl1.foo.fail_econnrefused > 0
      **** dT   6.132
      **   v1   as expected: VBE.vcl1.foo.fail_econnrefused (2) > 0
      **   top  === varnish v1 -expect VBE.vcl1.foo.helddown > 0
      548a4e6e
    • Nils Goroll's avatar
      flexelinting · 2baf7c0b
      Nils Goroll authored
      2baf7c0b
    • Nils Goroll's avatar
      help flexelint understand what happens with memory · 9168ee5e
      Nils Goroll authored
      Flexelint sput warning 429 that the malloc() return value was neither
      freed not returned.
      
      This simplification makes it clear. The assertion on malloc() having
      succeeded is in VSA_Build()
      
      Ref #3275
      9168ee5e
    • Nils Goroll's avatar
      Assert on malloc to succeed · e5341414
      Nils Goroll authored
      This ticks off an XXX comment: We basically assert on malloc to succeed
      everywhere, so we should stick with it here, too.
      e5341414
    • Nils Goroll's avatar
      Avoid flexelint 419 warning for memcpy to a union · 39a03ec6
      Nils Goroll authored
      Closes #3275
      39a03ec6
    • Nils Goroll's avatar
      polish: remove a superfluous variable · 119b4174
      Nils Goroll authored
      119b4174
  2. 03 Apr, 2020 4 commits
  3. 02 Apr, 2020 2 commits
  4. 01 Apr, 2020 26 commits