-
Notifications
You must be signed in to change notification settings - Fork 844
Http2 to origin #9366
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
Merged
Merged
Http2 to origin #9366
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Closed
ef77f41 to
d23ff44
Compare
d23ff44 to
d25cf45
Compare
Contributor
Author
|
[approve ci] |
d25cf45 to
c42037a
Compare
8092ec4 to
f029311
Compare
ba84c58 to
15303a7
Compare
This implements the HTTP/2 to origin feature.
When ConnectingEntry handled a connection failure, it could clear the error value passed to set_connect_fail. This would incorrectly result in the server not being marked down by hostdb. This patch ensures that the error code passed to set_connect_fail is always an error value when handling a connection failure.
* Fix for connection level window mismatch + force connection level window update * Fix for HPACK corruption on closed streams Todo: check stream level error returns, these should still decode the headers to prevent HPACK corruption for following header frames --------- Co-authored-by: Kees Spoelstra <kd.spoelstra@gmail.com>
This is a changed needed to the new HTTP/2 to origin tests for the records.yaml update.
The post-continue.test.py AuTest demonstrated that the restart_receiving call was causing the first 64KB of data from a POST to be lost.
The HttpSM::tunnel_handler expects the tunnel to be going away and asserts that the event it receives is HTTP_TUNNEL_EVENT_DONE. However, the tunnel can be going away due to timeout as well. Adding VC_EVENT_INACTIVITY_TIMEOUT as a possible event in that function.
15303a7 to
d33f665
Compare
maskit
reviewed
Mar 21, 2023
|
LGTM, I will look at trailers separately and continue testing it |
Member
|
Let me quickly review the entire change once again. I'm not going to go into the detail this time but I'd like to make sure anything important isn't removed or commented out. |
maskit
reviewed
Mar 22, 2023
maskit
reviewed
Mar 22, 2023
maskit
reviewed
Mar 22, 2023
maskit
reviewed
Mar 22, 2023
maskit
reviewed
Mar 22, 2023
maskit
reviewed
Mar 22, 2023
maskit
reviewed
Mar 22, 2023
maskit
reviewed
Mar 22, 2023
maskit
reviewed
Mar 22, 2023
maskit
reviewed
Mar 22, 2023
This removes some incorrectly added _ prefixes from public variables and renames some Http2ConnectionState ndone manipulation functions to make them more readable. It also reverts some test changes.
If we short circuit our update_write_request based upon HTTP/2 windows, then we can get into a situation where we are not flushing DATA frames to the client, but are internally accounting for them. Eventually we stop trying to flush because our window is depleted, which results in us never flushing. This manifested itself as DATA frames getting stuck in our VIO buffers.
maskit
approved these changes
Mar 28, 2023
bneradt
added a commit
to bneradt/trafficserver
that referenced
this pull request
Apr 21, 2023
The Proxy Protocol outbound functionality broke with the HTTP/2 to origin merge (apache#9366). I didn't update the Proxy Protocol feature correctly with the merge and the CI's proxy_protocol.test.py was skipped because our CI system didn't have the new go-httpbin in the path. This fixes the outbound Proxy Protocol feature again.
bneradt
added a commit
that referenced
this pull request
Apr 24, 2023
The Proxy Protocol outbound functionality broke with the HTTP/2 to origin merge (#9366). I didn't update the Proxy Protocol feature correctly with the merge and the CI's proxy_protocol.test.py was skipped because our CI system didn't have the new go-httpbin in the path. This fixes the outbound Proxy Protocol feature again.
cmcfarlen
pushed a commit
to cmcfarlen/trafficserver
that referenced
this pull request
Jun 3, 2024
* asf/master: (42 commits) Add logic to make the server.policy and server.properties settings reloadable (apache#9572) Add CMake to the required PR CI builds (apache#9575) fixup cmake build for master and add conditional for io_uring support (apache#9571) Cleanup: Use swoc::meta instead of ts::meta. (apache#9566) codeql 24: Multiplication result converted to larger type (apache#9569) Drop support for old quiche (apache#9561) QUIC: Ignore default_inactivity_timeout in favour of proxy.config.quic.no_activity_timeout_in. (apache#9564) Fix log format specifications (apache#9568) Add `current_time_epoch_ms` stat to be appended before the server version. This allows computation of stats externally based on the cache time frame. This can help alleviate issues with sliding windows between various stats programs that generate discrepencies (apache#9567) Define BIO macros in ink_ssl.h (apache#9557) combine UDPPacket and UDPPacketInternal (apache#9424) Update codeql.yml (apache#9560) Http2 to origin (apache#9366) coverity 1497413: Use of 32-bit time_t (apache#9556) Add support for multiple yaml config files for wasm plugin (apache#9483) Add TS_HAS_QUICHE feature variable. (apache#9547) mime header field parsing fix trailing quote handlling (apache#9513) Make magick plugin buildable with BoringSSL (apache#9554) QUIC: Test basic scenarios around the ts.quic.no_activity_timeout_in config. (apache#9543) Fix records events deps (apache#9511) ...
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
This implements the HTTP/2 to origin feature.
This is a rebase of #8963 from 10-Dev onto master. The only way to change the base branch of a PR is to re-open a new PR.