1. 14 Jun, 2018 2 commits
  2. 13 Jun, 2018 4 commits
  3. 12 Jun, 2018 2 commits
  4. 11 Jun, 2018 7 commits
    • Martin Blix Grydeland's avatar
      New fix for #2285 and #2624 · ed5c43be
      Martin Blix Grydeland authored
      Previous fix for #2285 (and the duplicate #2624) was missdiagnosed. The
      problem stems from a wrong assumption that the number of bytes already
      pipelined will be less than maxbytes, with maxbytes beeing the maximum
      number of bytes the HTC_RxStuff may need to get a full work unit. That
      assumption may fail during the H/1 to H/2 upgrade path where maxbytes
      change with the context, or during runtime changing of parameters.
      
      This patch makes HTC_RxStuff not assert if the pipelined data turned out
      to exceed maxbytes, but return overflow if we run out of workspace.
      
      (#2624 has received a workaround in the H/2 code that perhaps should be
      reverted).
      ed5c43be
    • Martin Blix Grydeland's avatar
      Fixups from 'Fix PROXY and HTTP/1 proto dissectors' · 9d1b135d
      Martin Blix Grydeland authored
      Remove old and now invalid assert.
      
      Change order of evaluation in if-statement to make sure we don't step
      outside rxbuf_e.
      9d1b135d
    • Nils Goroll's avatar
      Backend_health: report error details · 09a75daa
      Nils Goroll authored
      Previously, tracing the root cause of probe failures was unnecessarily
      complicated by the fact that the probe window bits and timing
      information were the only source of information when no HTTP status
      line was logged and for the case of all the bits being zero, almost
      impossible (e.g. differentiating between a local and remote connection
      open failure).
      
      We now re-use the response field for failing probes also.
      09a75daa
    • Nils Goroll's avatar
    • Nils Goroll's avatar
      holddown times for certain backend connection errors · e02e31ed
      Nils Goroll authored
      This is similar to the vca pace: Depending on the backend connection
      error, it does not make sense to re-try in rapid succession, instead
      not attempting the failed connection again for some time will save
      resources both locally and remotely, where applicable, and should
      thus help improve the overall situation.
      
      Fixes #2622
      e02e31ed
    • Nils Goroll's avatar
      Statistics for backend open errors · 314b17cc
      Nils Goroll authored
      Previously, we had zero stats on the cause of backend connection
      errors, which made it close to impossible to diagnose such issues in
      retrospect (only via log mining).
      
      We now pass an optional backend vsc to vcp and record errors per
      backend.
      
      Open errors are really per vcp entry (ip + port or udc path), which
      can be shared amongst backends (and even vcls), but we maintain the
      counters per backend (and, consequently, per vcl) for simplicity.  It
      should be noted though that errors for shared endpoints affect all
      backends using them.
      
      Ref #2622
      314b17cc
    • Nils Goroll's avatar
      finalize task privs when rolling back workspaces · c98edbb0
      Nils Goroll authored
      ... and introduce request functions for this purpose (for busy
      objects, there is only one use case yet, so we don't).
      
      Before we reset the workspace, we must ensure that there are no active
      references to objects on it. As PRIV_TASK and PRIV_TOP have the same
      lifetime as the respective workspace, they need to be destroyed. vmods
      must not use workspaces for storing information referenced via any of
      the other PRIVs unless the rollback case is considered.
      
      Note that while this bug was exposed by
      beeaa19c, it existed all along for any
      vmod priv state stored on the workspace, so if a vmod happened to
      access a TASK_PRIV stored on the workspace, it would likely have
      triggered a magic check assertion as well.
      
      I got plans for making std.rollback() more useful. While this change
      is required to do so, it only partly covers the planned changes.
      
      Fixes #2706
      c98edbb0
  5. 08 Jun, 2018 5 commits
  6. 07 Jun, 2018 3 commits
  7. 06 Jun, 2018 15 commits
  8. 05 Jun, 2018 2 commits