Changes for version 0.010 - 2026-09-11

  • Add send-side lifecycle callbacks: on_frame_send reports each frame as it is serialized, and on_frame_not_send reports a queued non-DATA frame discarded before the wire.
  • Add diagnostic callbacks: on_invalid_frame_recv for a peer frame nghttp2 rejects, and on_error for nghttp2's own error messages.
  • Add get_stream_remote_close() and get_stream_local_close() to query which halves of a stream are still open.
  • Add submit_goaway() for a graceful shutdown announcement with an optional error code and debug data.
  • Export NGHTTP2_ERR_STREAM_CLOSING, NGHTTP2_ERR_PROTO and NGHTTP2_ERR_HTTP_HEADER through the :errors tag.

Documentation

Minimal HTTP/2 server for conformance testing

Modules

Perl XS bindings for nghttp2 HTTP/2 library
HTTP/2 session management