GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — adjust continuation frame header length by CLFutureX · Pull Request #14245 · netty/netty

Conversation

@CLFutureX

@CLFutureX CLFutureX commented Aug 22, 2024 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Motivation:

Padding was removed from CONTINUATION frame in http2-spec,
at the same time , the continuation frame header should be adjusted,
which can also to reduce the allocation of bytes.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@CLFutureX
ajust continuation frame header length
a4f3c4e
@CLFutureX CLFutureX closed this Aug 22, 2024
@CLFutureX
adjust continuation frame header length
5333917
@CLFutureX CLFutureX reopened this Aug 22, 2024
normanmaurer
normanmaurer requested changes Aug 22, 2024
View reviewed changes
Comment thread codec-http2/src/main/java/io/netty/handler/codec/http2/DefaultHttp2FrameWriter.java Resolved

Uh oh!

There was an error while loading. Please reload this page.

@CLFutureX
adjust continuation frame header length
79df27c
@CLFutureX
CLFutureX requested a review from normanmaurer August 23, 2024 15:17
@normanmaurer

normanmaurer commented Aug 27, 2024

Copy link
Copy Markdown
Member

I would argue we should ignore the Revapi failure here as at worse it will just use the old value and so allocate 1 extra byte until things are re-compiled. @chrisvest WDYT ?

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@chrisvest

chrisvest commented Aug 31, 2024

Copy link
Copy Markdown
Member

@normanmaurer I agree. Revapi is flagging it because such a change could be problematic, but this case should be fine as you say.
@CLFutureX Just add a difference to be ignored in the top-level pom.xml file: https://github.com/netty/netty/blob/4.1/pom.xml#L1297

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

CLFutureX added 2 commits September 1, 2024 10:30
@CLFutureX
adjust continuation frame header length
ee1a2ec
@CLFutureX
adjust continuation frame header length
8873576
@CLFutureX

CLFutureX commented Sep 1, 2024

Copy link
Copy Markdown
Contributor Author

Padding was removed from CONTINUATION frame in http2-spec,

@normanmaurer I agree. Revapi is flagging it because such a change could be problematic, but this case should be fine as you say. @CLFutureX Just add a difference to be ignored in the top-level pom.xml file: https://github.com/netty/netty/blob/4.1/pom.xml#L1297

okay,i fix it

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@normanmaurer
normanmaurer merged commit c0fdb8e into netty:4.1 Sep 2, 2024
normanmaurer pushed a commit that referenced this pull request Sep 2, 2024
@CLFutureX @normanmaurer
adjust continuation frame header length (#14245)
c52ef3f
Motivation:

Padding was removed from CONTINUATION frame in http2-spec, 
at the same time, the continuation frame header should be adjusted,
which can also to reduce the allocation of bytes.

Modifications:

Adjust number of bytes

Result:

Reduce num of bytes that are allocated
normanmaurer pushed a commit that referenced this pull request Sep 2, 2024
@CLFutureX @normanmaurer
adjust continuation frame header length (#14245)
35df81b
Motivation:

Padding was removed from CONTINUATION frame in http2-spec,
at the same time, the continuation frame header should be adjusted,
which can also to reduce the allocation of bytes.

Modifications:

Adjust number of bytes

Result:

Reduce num of bytes that are allocated
@normanmaurer

normanmaurer commented Sep 2, 2024

Copy link
Copy Markdown
Member

@CLFutureX Thanks a lot!

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@normanmaurer normanmaurer added this to the 4.1.113.Final milestone Sep 2, 2024
This was referenced Sep 14, 2026
Http2: Reserve promised stream for PUSH_PROMISE after local RST_STREAM #17471
Closed
cache failure 1233e4a5 #17565
Closed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@normanmaurer normanmaurer Awaiting requested review from normanmaurer

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

4.1.113.Final

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@CLFutureX @normanmaurer @chrisvest
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.