Skip to content

[DO NOT MERGE] Merge CRT H2 Support#6729

Open
zoewangg wants to merge 8 commits intomasterfrom
feature/master/crtH2
Open

[DO NOT MERGE] Merge CRT H2 Support#6729
zoewangg wants to merge 8 commits intomasterfrom
feature/master/crtH2

Conversation

@zoewangg
Copy link
Contributor

Merge CRT H2 Support

* Add CRT HTTP/2 support

* Update CRT version and re-add back comments
# Conflicts:
#	pom.xml
@zoewangg zoewangg requested a review from a team as a code owner February 11, 2026 21:02
private final HttpExecuteRequest request;
private final long readBufferSize;
private final HttpClientConnectionManager crtConnPool;
private final HttpStreamManager crtConnPool;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

trivial: maybe rename this? It's not a connection pool anymore?

Comment on lines +78 to +84
ClientBootstrap clientBootstrap = new ClientBootstrap(null, null);
SocketOptions clientSocketOptions = buildSocketOptions(builder.getTcpKeepAliveConfiguration(),
config.get(SdkHttpConfigurationOption.CONNECTION_TIMEOUT));
TlsContextOptions clientTlsContextOptions =
TlsContextOptions.createDefaultClient()
.withCipherPreference(resolveCipherPreference(builder.getPostQuantumTlsEnabled()))
.withVerifyPeer(!config.get(SdkHttpConfigurationOption.TRUST_ALL_CERTIFICATES));

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why we remove the try with resource block? Maybe I am not following the logic, but where do we clean up these resource?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So previously, we have this subresource.addRef() process to increase reference every time we use it and then try with resource to close it. I just removed both to keep the logic simple.

zoewangg added 3 commits March 3, 2026 15:13
* Add stability tests and JMH tests

# Conflicts:
#	services/kinesis/src/it/java/software/amazon/awssdk/services/kinesis/AbstractTestCase.java

* Fix tests

* Fix checkstyle errors

* Address feedback
@sonarqubecloud
Copy link

sonarqubecloud bot commented Mar 6, 2026

Quality Gate Failed Quality Gate failed

Failed conditions
64.6% Coverage on New Code (required ≥ 80%)
4.8% Duplication on New Code (required ≤ 3%)
E Reliability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

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.

2 participants