Skip to content

8347373: HTTP/2 flow control checks may count unprocessed data twice #3857

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

Closed
wants to merge 1 commit into from

Conversation

GoeLin
Copy link
Member

@GoeLin GoeLin commented Aug 15, 2025

I backport this for parity with 21.0.8-oracle and as follow-up of JDK-8342075.

I had to do a small resolve in Http2TestServerConnection.java.

The original has one more else block with printouts that were adapted. This was added by https://bugs.openjdk.org/browse/JDK-8303481: CancelRequestTest assertTrue failing with AssertionError due to java.util.concurrent.CompletionException: java.io.EOFException: EOF reached while reading


Progress

  • Change must be properly reviewed (1 review required, with at least 1 Reviewer)
  • Change must not contain extraneous whitespace
  • Commit message must refer to an issue
  • JDK-8347373 needs maintainer approval

Issue

  • JDK-8347373: HTTP/2 flow control checks may count unprocessed data twice (Bug - P4 - Approved)

Reviewers

Reviewing

Using git

Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk17u-dev.git pull/3857/head:pull/3857
$ git checkout pull/3857

Update a local copy of the PR:
$ git checkout pull/3857
$ git pull https://git.openjdk.org/jdk17u-dev.git pull/3857/head

Using Skara CLI tools

Checkout this PR locally:
$ git pr checkout 3857

View PR using the GUI difftool:
$ git pr show -t 3857

Using diff file

Download this PR as a diff file:
https://git.openjdk.org/jdk17u-dev/pull/3857.diff

Using Webrev

Link to Webrev Comment

@bridgekeeper
Copy link

bridgekeeper bot commented Aug 15, 2025

👋 Welcome back goetz! A progress list of the required criteria for merging this PR into pr/3852 will be added to the body of your pull request. There are additional pull request commands available for use with this pull request.

@openjdk
Copy link

openjdk bot commented Aug 15, 2025

@GoeLin This change now passes all automated pre-integration checks.

ℹ️ This project also has non-automated pre-integration requirements. Please see the file CONTRIBUTING.md for details.

After integration, the commit message for the final commit will be:

8347373: HTTP/2 flow control checks may count unprocessed data twice

Reviewed-by: rschmelter

You can use pull request commands such as /summary, /contributor and /issue to adjust it as needed.

At the time when this comment was updated there had been 4 new commits pushed to the master branch:

As there are no conflicts, your changes will automatically be rebased on top of these commits when integrating. If you prefer to avoid this automatic rebasing, please check the documentation for the /integrate command for further details.

➡️ To integrate this PR with the above commit message to the master branch, type /integrate in a new comment.

@openjdk openjdk bot changed the title backport 06126361db1edb1d4c181a82952c1ac133a839f9 8347373: HTTP/2 flow control checks may count unprocessed data twice Aug 15, 2025
@openjdk
Copy link

openjdk bot commented Aug 15, 2025

This backport pull request has now been updated with issue from the original commit.

@openjdk openjdk bot added backport Port of a pull request already in a different code base rfr Pull request is ready for review labels Aug 15, 2025
@mlbridge
Copy link

mlbridge bot commented Aug 15, 2025

Webrevs

@GoeLin GoeLin force-pushed the goetz_backport_8347373 branch from 45e8d49 to c3083b3 Compare August 15, 2025 09:48
@openjdk
Copy link

openjdk bot commented Aug 15, 2025

@GoeLin Please do not rebase or force-push to an active PR as it invalidates existing review comments. Note for future reference, the bots always squash all changes into a single commit automatically as part of the integration. See OpenJDK Developers’ Guide for more information.

@openjdk
Copy link

openjdk bot commented Aug 15, 2025

⚠️ @GoeLin This pull request contains merges that bring in commits not present in the target repository. Since this is not a "merge style" pull request, these changes will be squashed when this pull request in integrated. If this is your intention, then please ignore this message. If you want to preserve the commit structure, you must change the title of this pull request to Merge <project>:<branch> where <project> is the name of another project in the OpenJDK organization (for example Merge jdk:master).

@GoeLin
Copy link
Member Author

GoeLin commented Aug 16, 2025

GHA Failure: unrelated to this change
langtools ToolTabSnippetTest: java.lang.Exception: failures: 1

@openjdk-notifier openjdk-notifier bot changed the base branch from pr/3852 to master August 19, 2025 09:19
@openjdk-notifier
Copy link

The parent pull request that this pull request depends on has now been integrated and the target branch of this pull request has been updated. This means that changes from the dependent pull request can start to show up as belonging to this pull request, which may be confusing for reviewers. To remedy this situation, simply merge the latest changes from the new target branch into this pull request by running commands similar to these in the local repository for your personal fork:

git checkout goetz_backport_8347373
git fetch https://git.openjdk.org/jdk17u-dev.git master
git merge FETCH_HEAD
# if there are conflicts, follow the instructions given by git merge
git commit -m "Merge master"
git push

@openjdk
Copy link

openjdk bot commented Aug 19, 2025

@GoeLin this pull request can not be integrated into master due to one or more merge conflicts. To resolve these merge conflicts and update this pull request you can run the following commands in the local repository for your personal fork:

git checkout goetz_backport_8347373
git fetch https://git.openjdk.org/jdk17u-dev.git master
git merge FETCH_HEAD
# resolve conflicts and follow the instructions given by git merge
git commit -m "Merge master"
git push

@openjdk openjdk bot added the merge-conflict Pull request has merge conflict with target branch label Aug 19, 2025
@GoeLin GoeLin force-pushed the goetz_backport_8347373 branch from c3083b3 to e14e0c5 Compare August 19, 2025 14:20
@openjdk
Copy link

openjdk bot commented Aug 19, 2025

@GoeLin Please do not rebase or force-push to an active PR as it invalidates existing review comments. Note for future reference, the bots always squash all changes into a single commit automatically as part of the integration. See OpenJDK Developers’ Guide for more information.

@openjdk openjdk bot removed the merge-conflict Pull request has merge conflict with target branch label Aug 19, 2025
Copy link
Contributor

@schmelter-sap schmelter-sap left a comment

Choose a reason for hiding this comment

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

Looks good.

@openjdk
Copy link

openjdk bot commented Aug 20, 2025

⚠️ @GoeLin This change is now ready for you to apply for maintainer approval. This can be done directly in each associated issue or by using the /approval command.

@openjdk openjdk bot added approval Requires approval; will be removed when approval is received ready Pull request is ready to be integrated and removed approval Requires approval; will be removed when approval is received labels Aug 21, 2025
@GoeLin
Copy link
Member Author

GoeLin commented Aug 22, 2025

/integrate

@openjdk
Copy link

openjdk bot commented Aug 22, 2025

Going to push as commit f937b24.
Since your change was applied there have been 7 commits pushed to the master branch:

Your commit was automatically rebased without conflicts.

@openjdk openjdk bot added the integrated Pull request has been integrated label Aug 22, 2025
@openjdk openjdk bot closed this Aug 22, 2025
@openjdk openjdk bot removed the ready Pull request is ready to be integrated label Aug 22, 2025
@openjdk openjdk bot removed the rfr Pull request is ready for review label Aug 22, 2025
@openjdk
Copy link

openjdk bot commented Aug 22, 2025

@GoeLin Pushed as commit f937b24.

💡 You may see a message that your pull request was closed with unmerged commits. This can be safely ignored.

@GoeLin GoeLin deleted the goetz_backport_8347373 branch August 22, 2025 07:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport Port of a pull request already in a different code base integrated Pull request has been integrated
Development

Successfully merging this pull request may close these issues.

2 participants