1. 29 Apr, 2022 3 commits
    • Dominik Charousset's avatar
      Re-implement the Prometheus server in caf-net · ab21592f
      Dominik Charousset authored
      With an actual HTTP backend in caf-net, we can implement the Prometheus
      server in a much cleaner version than the previous ad-hoc version from
      caf-io.
      ab21592f
    • Dominik Charousset's avatar
      Remove dead code · e94a5243
      Dominik Charousset authored
      e94a5243
    • Dominik Charousset's avatar
      Drastically reduce complexity of the multiplexer · 4a069f4b
      Dominik Charousset authored
      When we started with caf-net in the incubator, socket managers had
      minimal control flow and the read and write handlers could simply return
      whether they wished to be called again later again. With SSL and its
      `want_read` and `want_write` shenanigans, things got a whole lot more
      complicated and the old return-next-operation model stopped being a good
      fit. And finally, asynchronous events that trigger reads and writes
      without prior socket events made this approach pretty much fell apart
      and there were in fact two paths to influence the event mask for a
      socket manager: the return value of the handlers and
      `register_(reading|writing)` functions.
      
      With this redesign, read and write handlers no longer return anything.
      All bookkeeping for the event mask exclusively relies on
      `register_(reading|writing)` functions. The new design also drops
      `resume_reading` and simply adds more capabilities to lower layers to
      (re-) start reading at any time using actions.
      4a069f4b
  2. 27 Apr, 2022 4 commits
  3. 26 Apr, 2022 1 commit
  4. 25 Apr, 2022 1 commit
  5. 24 Apr, 2022 1 commit
  6. 23 Apr, 2022 10 commits
  7. 22 Apr, 2022 12 commits
  8. 21 Apr, 2022 2 commits
  9. 20 Apr, 2022 6 commits