Skip to content
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

Improve ClientRequestImpl #6208

Merged
merged 38 commits into from Mar 3, 2023

Conversation

klustria
Copy link
Member

@klustria klustria commented Feb 15, 2023

Change includes the following:

  1. Configurable value for mediaContext, maxHeaderSize, maxStatusLength, sendExpect100Continue, and validateHeaders
  2. Optimize chunk request in ClientConnectionOutputStream, i.e. don't chunk if data is small
  3. Send expect-100 (configurable via sendExpect100Continue) to verify host responsiveness before sending chunk request
  4. Configurable http connection queue limit
  5. Added read/connection timeouts in the connection queue key
  6. Request using HEAD method will be allowed only with no entity
  7. Mocked unit test and Integration test to validate code changes

Change includes the following:
1. Configurable value for mediaContext, maxHeaderSize, maxStatusLength, sendExpect100Continue, and validateHeaders
2. Optimize chunk request in ClientConnectionOutputStream, i.e. don't chunk if data is small
3. Send expect-100 (configurable via sendExpect100Continue) to verify host responsiveness before sending chunk request
4. Replace ConcurrentLinkedDeque in ClientConnectionOutputStream.getConnection() with LinkedBlockingDeque, so it can be optionally be bounded
@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Feb 15, 2023
@klustria klustria self-assigned this Feb 15, 2023
@klustria
Copy link
Member Author

The build failure in https://github.com/helidon-io/helidon/actions/runs/4202519142/jobs/7298843034 is due to this issue: #5386

@klustria
Copy link
Member Author

The build failure in https://github.com/helidon-io/helidon/actions/runs/4202519142/jobs/7298843034 is due to this issue: #5386

This has been fixed.

@klustria klustria requested a review from Verdent March 1, 2023 15:34
@klustria klustria requested a review from spericas March 1, 2023 15:49
@klustria klustria dismissed tomas-langer’s stale review March 2, 2023 21:31

Tomas is on vacation and this was already reviewed by Santiago, David and Daniel

@klustria klustria merged commit dc361d4 into helidon-io:main Mar 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OCA Verified All contributors have signed the Oracle Contributor Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants