Skip to content

Add test for HTTP2 request with large header#659

Merged
dnadoba merged 13 commits into
swift-server:mainfrom
dnadoba:dn-large-header-tests-http2
Jan 26, 2023
Merged

Add test for HTTP2 request with large header#659
dnadoba merged 13 commits into
swift-server:mainfrom
dnadoba:dn-large-header-tests-http2

Conversation

@dnadoba

@dnadoba dnadoba commented Jan 25, 2023

Copy link
Copy Markdown
Collaborator

Depends on #658

Motivation

We currently don't handle large headers well which trigger a channel writability change event.

Modification

Add failing (but currently skipped) tests which reproduces the issue

Result

We can reliably reproduce the large request header issue in an integration and unit test.
Note that the actual fix is not included to make reviewing easier and will come in a follow up PR.

Motivation

We currently don't handle large headers well which trigger a channel writability change event.

Modification

Add failing (but currently skipped) tests which reproduces the issue
Result

We can reliably reproduce the large request header issue in an integration and unit test.
Note that the actual fix is not included to make reviewing easier and will come in a follow up PR.
@dnadoba dnadoba added the semver/none No version bump required. label Jan 25, 2023
# Conflicts:
#	Sources/AsyncHTTPClient/ConnectionPool/HTTP1/HTTP1ClientChannelHandler.swift
#	Sources/AsyncHTTPClient/ConnectionPool/HTTP1/HTTP1Connection.swift
#	Tests/AsyncHTTPClientTests/HTTPClientTests+XCTest.swift
#	Tests/AsyncHTTPClientTests/HTTPClientTests.swift
@dnadoba
dnadoba marked this pull request as ready for review January 26, 2023 12:52
@dnadoba
dnadoba merged commit 59bfb96 into swift-server:main Jan 26, 2023
@dnadoba
dnadoba deleted the dn-large-header-tests-http2 branch January 26, 2023 13:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

semver/none No version bump required.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants