Wednesday, March 23, 2016

H2O version 2.0.0-beta2 released, with a new "status" handler

Today I am happy to announce the release of H2O HTTP/2 server version 2.0.0-beta2.

The release comes with the new status handler that shows the HTTP requests in-flight. Now, you can monitor what's going on inside H2O!

Some notable features are:
  • both HTTP/1 and HTTP/2 requests are shown
  • HTTP/2 priorities are shown
  • the screen can be updated automatically by clicking the Refresh checkbox


Under the hood, the status is served via a JSON API (lib/handler/status.c L169), and rendered by a static HTML document(share/h2o/status/index.html). So it would be easy for anyone to extend the status or retrieve and use the status from another program.

The documentation of the status handler can be found here.

No comments:

Post a Comment