mirror of
https://github.com/apple/swift-nio-http2
synced 2026-11-24 04:38:00 +00:00
Motivation: Some of the allocation counting tests used frame-based stream channels rather than the frame payload based ones. These were deprecated some time ago. Modifications: - Update test handlers to be `HTTP2Frame.FramePayload` based - Update the 'create_client_stream_channel' test to count streams rather than summing their stream ID (as stream IDs aren't assigned until the stream channel delivers pending writes for the first time). - Update allocation limits Result: Allocation counting tests don't use deprecated APIs.