mirror of
https://github.com/apple/swift-nio-http2
synced 2026-11-22 04:30:43 +00:00
The codec now caches the most recent outbound frame and only writes it on flush or when receiving `.end`. This lets us set `endStream=true` on the final data or headers frame instead of sending a separate empty data frame. Changes: - Introduced `PendingFrameWrite` to cache frame payload and promise - Modified `processOutboundData` to return optional frames instead of writing immediately - Added `flush()` method to both client codecs to handle cached writes - Promise merging ensures correct completion notification when combining frames
49 lines
660 B
Plaintext
49 lines
660 B
Plaintext
.gitignore
|
|
**/.gitignore
|
|
.licenseignore
|
|
.unacceptablelanguageignore
|
|
.gitattributes
|
|
.git-blame-ignore-revs
|
|
.mailfilter
|
|
.mailmap
|
|
.spi.yml
|
|
.swift-format
|
|
.editorconfig
|
|
.github/*
|
|
*.md
|
|
*.txt
|
|
*.yml
|
|
*.yaml
|
|
*.json
|
|
Package.swift
|
|
**/Package.swift
|
|
Package@-*.swift
|
|
**/Package@-*.swift
|
|
Package.resolved
|
|
**/Package.resolved
|
|
Makefile
|
|
*.modulemap
|
|
**/*.modulemap
|
|
**/*.docc/*
|
|
*.xcprivacy
|
|
**/*.xcprivacy
|
|
*.symlink
|
|
**/*.symlink
|
|
Dockerfile
|
|
**/Dockerfile
|
|
Snippets/*
|
|
dev/git.commit.template
|
|
dev/update-benchmark-thresholds
|
|
*.crt
|
|
**/*.crt
|
|
*.pem
|
|
**/*.pem
|
|
*.der
|
|
**/*.der
|
|
.swiftformat
|
|
.gitmodules
|
|
FuzzTesting/FailCases/*
|
|
Tests/hpack-test-case/*
|
|
.flake8
|
|
dev/alloc-limits-from-test-output
|