Skip to content

Release 0.6.0: audit-driven security and concurrency hardening#11

Merged
benoitc merged 1 commit into
mainfrom
release-0.6.0
May 19, 2026
Merged

Release 0.6.0: audit-driven security and concurrency hardening#11
benoitc merged 1 commit into
mainfrom
release-0.6.0

Conversation

@benoitc
Copy link
Copy Markdown
Owner

@benoitc benoitc commented May 19, 2026

Summary

Bumps vsn to 0.6.0 and adds the changelog entry covering the eight PRs (#2-#10) from the audit.

Headline changes

  • Critical: CONTINUATION flood cap, controlling_process owner monitor.
  • High: send_frame error propagation, HPACK table cap, send-buffer cap, set_stream_handler default flip, handle_send_data yielding, acceptor EXIT drain, TLS server hardening.
  • Medium: default max_concurrent_streams = 100, logger:error/2 swap, setting_id dedup, SETTINGS_ACK state preservation, safe_path hardening, cancel_stream deprecation, set_stream_handler doc note.
  • Low/Info: set_active error handling, peel_reason recursive, cancel_timer flush, =:= consistency, file_info record access, ?DEFAULT_TIMEOUT_MS.

Breaking notes

  • set_stream_handler/3,4 default flipped; callers matching {ok, Buf} to forward by hand can drop that code.
  • send_data/3,4 may return {error, send_buffer_full}.
  • cancel_stream/2,3 is -deprecated; use cancel/2,3.
  • Default SETTINGS_MAX_CONCURRENT_STREAMS = 100.
  • verify_peer without cacerts now fails fast.

Full detail in CHANGELOG.md. 95 CT tests + full eunit pass.

Bundles eight PRs of fixes from a multi-agent audit, covering
Critical (CONTINUATION flood, owner liveness), High (send_frame
error propagation, HPACK table cap, send-buffer cap, set_stream_handler
default flip, send-data yielding, acceptor mailbox drain, TLS hardening),
and Medium/Low cleanups (default max_concurrent_streams, logger swap,
setting_id dedup, SETTINGS_ACK state, safe_path, cancel deprecation,
timer flush, peel_reason, style).

Behaviour changes flagged in the changelog: set_stream_handler default
flip, send_data may return {error, send_buffer_full}, cancel_stream
deprecation, max_concurrent_streams now 100, verify_peer requires cacerts.

95 CT tests + full eunit pass.
@benoitc benoitc merged commit 85e0562 into main May 19, 2026
5 checks passed
@benoitc benoitc deleted the release-0.6.0 branch May 19, 2026 23:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant