1. 27 Feb, 2019 4 commits
  2. 26 Feb, 2019 9 commits
  3. 25 Feb, 2019 6 commits
    • Poul-Henning Kamp's avatar
      Flexelint constification · 05d59c65
      Poul-Henning Kamp authored
      05d59c65
    • Nils Goroll's avatar
      complement the cleanup started in the previous commit · 5666ed7a
      Nils Goroll authored
      Thank you, @Dridi
      
      - yes, allocations outside the lock were motivated by minimizing the
        critical section, but n_backend could actually change, so this was
        wrong. As we use an RW lock, doing more work under it should only have
        marginal impact.
      
      - n_backend == 0 is probably best handled as a special case
      5666ed7a
    • Dridi Boukelmoune's avatar
      Kill goto statements in vmod-shard · fda04bf3
      Dridi Boukelmoune authored
      With that, (almost) only libvgz carries goto statements from zlib.
      
      This isn't changing any of the previous semantics, in particular the
      AN(be) assertion from the "ok:" jump is honored by all code paths
      formerly leading to it.
      
      Previously, the bitmap was allocated on the stack prior to the magic
      check of shardd, which is now fixed at the expense of a potential code
      style violation. But more importantly, we currently read the number of
      backends prior to acquiring the read lock, but there is no evidence
      that this was done on purpose and not overlooked, besides moving a
      possibly expensive state initialization outside of the critical
      section.
      
      If that was on purpose, please document it.
      fda04bf3
    • Geoff Simmons's avatar
      Add criteria for bundling new VMODs to the dev-guide. · 492c9bfb
      Geoff Simmons authored
      References #2912
      492c9bfb
    • Poul-Henning Kamp's avatar
      Whitespace OCD · 1a7f60ee
      Poul-Henning Kamp authored
      1a7f60ee
    • Poul-Henning Kamp's avatar
      6473fa9e
  4. 23 Feb, 2019 3 commits
  5. 22 Feb, 2019 7 commits
  6. 21 Feb, 2019 5 commits
    • Nils Goroll's avatar
      fix between bytes timeout vs total timeout · c7267466
      Nils Goroll authored
      On the client side, we impose a total timeout, yet on the client side we
      use between_bytes_timeout and do not care about the total (<- we might
      want to reconsider this).
      
      Yet HTC_RxStuff only implemented a total timeout, for which we
      effectively used first_byte_timeout + between_bytes_timeout. Yet if
      first_byte_timeout was not used up, the effective timeout between bytes
      could be substantially longer than between_bytes_timeout (initially
      analyzed by @daghf).
      
      We now add a duration argument td to HTC_RxStuff which will be used in
      addition to (or instead of) the existing total timeout tn. Either td or
      tn must be given.
      
      Testcase originally by @fgsch, slightly modified to avoid an assertion
      failure in vtc_server due to the connection being closed by varnish.
      
      Fixes #2395
      c7267466
    • Nils Goroll's avatar
      fix vmodtool boilerplate for -o · cfbe88a1
      Nils Goroll authored
      Fixes #2914
      cfbe88a1
    • Shohei Tanaka(@xcir)'s avatar
      Fix max_concurrent_streams check · 4d8e4b9c
      Shohei Tanaka(@xcir) authored
      4d8e4b9c
    • Nils Goroll's avatar
      document backend.list changes · f403938c
      Nils Goroll authored
      Ref: a0436a43
      f403938c
    • Nils Goroll's avatar
      document backend.list · 75166566
      Nils Goroll authored
      75166566
  7. 20 Feb, 2019 6 commits