Skip to content

Add test for HTTP2 request with large header #659

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 13 commits into from
Jan 26, 2023

Conversation

dnadoba
Copy link
Collaborator

@dnadoba dnadoba commented Jan 25, 2023

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