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

enhanced http/2 early hints behavior #784

Closed
wants to merge 4 commits into from

Conversation

Chenjp
Copy link
Contributor

@Chenjp Chenjp commented Nov 22, 2024

automatically flush when earlyHints called, to enable the possibility of server-think-time (programmatic code in web app) between the Early Hints headers and the final response. Speeding up page loads is the main goal of Early hints feature, and the "server think-time" is the key.

1. automatically flush when earlyHints called, to enable the possibility of server-think-time between the Early Hints headers and the final response.  Speeding up page loads is the main goal of Early hints feature, and the "server think-time" is the key.
2. unset early-hints relative headers.
Chenjp added a commit to Chenjp/tomcat that referenced this pull request Nov 22, 2024
twin PR of apache#784 .
1. automatically flush when earlyHints called, to enable the possibility of server-think-time between the Early Hints headers and the final response.  Speeding up page loads is the main goal of Early hints feature, and the "server think-time" is the key.
2. unset early-hints relative headers.
java/org/apache/coyote/http2/Stream.java Outdated Show resolved Hide resolved
java/org/apache/coyote/http2/Stream.java Outdated Show resolved Hide resolved
java/org/apache/coyote/http2/Stream.java Outdated Show resolved Hide resolved
replace String.valueOf with Integer.toString
revoke headers removal ops.
@markt-asf
Copy link
Contributor

The acceptable changes of this PR (literal 103 to constant) have been applied separately.

@markt-asf markt-asf closed this Nov 22, 2024
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