1. 02 Jul, 2018 1 commit
  2. 13 Jun, 2018 1 commit
  3. 30 May, 2018 1 commit
    • Marek Vavruša's avatar
      daemon: allow per-request variables in Lua · 14de9110
      Marek Vavruša authored
      The handlers in Lua can now store per-request variables that are automatically
      GC'd when the request is finished. This is useful for stateful modules,
      such as DNS64 that uses internal option flags for state tracking.
      
      The layers can now get a variable table like so:
      
      ```
      local vars = kres.request_t(r):vars()
      vars.hello = true
      ```
      
      The variables are persisted between different layers for each request.
      14de9110
  4. 09 May, 2018 3 commits
  5. 27 Apr, 2018 1 commit
  6. 23 Apr, 2018 4 commits
  7. 19 Apr, 2018 1 commit
  8. 18 Apr, 2018 2 commits
  9. 14 Apr, 2018 1 commit
    • Marek Vavruša's avatar
      worker: fixed infinite loop on send failure · 90f72d63
      Marek Vavruša authored
      The problem here is when qr_task_send() returns an error, the
      following error handler will attempt to cancel all tasks that were
      started on the same connection, but that will only work for the first
      task (which is finished), the qr_task_on_send() will have no effect
      on tasks in progress as the passed handle is NULL, and the task->finished
      is false, thus looping infinitely.
      
      The solution here is to let the rest of the tasks complete, even though
      sending answer back will fail (which is fine).
      90f72d63
  10. 13 Apr, 2018 5 commits
  11. 28 Mar, 2018 4 commits
  12. 26 Mar, 2018 1 commit
  13. 01 Mar, 2018 1 commit
    • Vladimír Čunát's avatar
      map_t, set_t: unify memory allocation to mm_* · f821e688
      Vladimír Čunát authored
      We use the knot style everywhere else; this was very similar and yet
      different, so really annoying to me.  In the long term we might better
      migrate to qp-tries from knot, but the API differs, so it's delayed...
      f821e688
  14. 22 Feb, 2018 1 commit
    • Vladimír Čunát's avatar
      map_t, set_t: unify memory allocation to mm_* · a159bab9
      Vladimír Čunát authored
      We use the knot style everywhere else; this was very similar and yet
      different, so really annoying to me.  In the long term we might better
      migrate to qp-tries from knot, but the API differs, so it's delayed...
      
      (cherry picked from map-alloc - commit b1b8157b94fb41)
      a159bab9
  15. 08 Feb, 2018 4 commits
  16. 31 Jan, 2018 1 commit
  17. 29 Jan, 2018 1 commit
  18. 23 Jan, 2018 1 commit
    • Vladimír Čunát's avatar
      nitpicks from review of !405: query-trace · f705c82a
      Vladimír Čunát authored
      The deckard change was probably unintentional, so I reverted that.
      The only real mistake I found was `sizeof(128)`, though the effect was
      just unnecessary reallocations.
      
      On the whole I really like it.  Verbose logging might get slightly
      slower, due to increased amount of string allocation and copying,
      but it does seem worth it, at least until we can prove otherwise.
      I didn't look much into http module changes, etc.
      f705c82a
  19. 22 Jan, 2018 2 commits
  20. 19 Jan, 2018 1 commit
  21. 18 Jan, 2018 2 commits
  22. 12 Jan, 2018 1 commit