Skip to content

Add HTTP/2 CONTINUATION frame support#71

Open
gedaiu wants to merge 7 commits intovibe-d:masterfrom
gedaiu:continuation-frames
Open

Add HTTP/2 CONTINUATION frame support#71
gedaiu wants to merge 7 commits intovibe-d:masterfrom
gedaiu:continuation-frames

Conversation

@gedaiu
Copy link

@gedaiu gedaiu commented Mar 5, 2026

Implements HEADERS frame splitting into CONTINUATION frames when the HPACK-encoded header block exceeds the peer's MAX_FRAME_SIZE, replacing the previous assert(false) stubs.

Introduces an HTTP2FrameFlag enum to replace magic flag constants, fixes the MAX_FRAME_SIZE settings validation error code from FLOW_CONTROL_ERROR to PROTOCOL_ERROR per RFC 7540 §6.5.2, and adds integration tests covering normal responses, edge cases like 204 No Content and empty bodies, and server resilience against malformed connections.

@gedaiu gedaiu force-pushed the continuation-frames branch from 60b22a8 to 883e844 Compare March 5, 2026 21:17
@gedaiu gedaiu force-pushed the continuation-frames branch from 883e844 to 273884c Compare March 5, 2026 21:23
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