Repository navigation
Conversation
|
We'll have to rebase the edit: done |
Wonshtrum
force-pushed
the
htx
branch
3 times, most recently
from
April 28, 2023 15:35
5edcb07 to
e9ed02c
Compare
Keksoj
suggested changes
May 2, 2023
Keksoj
left a comment
There was a problem hiding this comment.
This is great! I nitpicked some wording and demanded some comments for clarity.
|
please rebase, we risk having a harder time resolving conflicts as time goes by. |
This was referenced May 26, 2023
Signed-off-by: Eloi DEMOLIS <[email protected]>
- Change Ready::readable() and alike function to scoped constant (Ready::READABLE...) - Merge RequestContet and ResponseContext in HttpContext - Move HttpContext in Http State (to pass a mutable reference to the BlockConverter instead of a copy) - Reworked the HTTP flow (through Readiness interest/event) - Implement vectored_write for Rustls Front Signed-off-by: Eloi DEMOLIS <[email protected]>
Signed-off-by: Eloi DEMOLIS <[email protected]>
- Update from HTX 0.4.1 to Kawa 0.5.0! - Fix http mi test (better handling of backend hup/error) - Rename http/tcp mi test in http/tcp round_trip - Properly get front/back keep-alive from request/response - Add keep-alive e2e test Signed-off-by: Eloi DEMOLIS <[email protected]>
- Update to Kawa 0.5.1 - Support sticky_session - Add sticky_session configuration for e2e - Add sticky_session e2e test - Fix backend_keep_alive reset Signed-off-by: Eloi DEMOLIS <[email protected]>
- Update to Kawa 0.5.2 - Cargo update - Add From<RequestType> for Request - Add e2e helper functions: send_proxy_request_type, soft_close, hard_close - Fix dropped early data in HTTP upgrades (add sync on Checkout, update e2e) - Fix "Cookies" header name (replace by "Cookie") - Fix semicolon after last cookie crumb in e2e tests - Add documenting comments on: HttpContext, callbacks, reset, ready_inner... Signed-off-by: Eloi DEMOLIS <[email protected]>
Signed-off-by: Eloi DEMOLIS <[email protected]>
Signed-off-by: Eloi DEMOLIS <[email protected]>
…ssion Signed-off-by: Eloi DEMOLIS <[email protected]>
Signed-off-by: Eloi DEMOLIS <[email protected]>
- Use CachedTags in listeners to avoid tags contatenation - Add get_concatenated_tags on ListenerHandler - Create logs module to mutualise access logs structs and methods - Use new logs primitive to refactor: - Http::log_request_success - Http::log_default_answer_success - Http::log_request_error - Pipe::log_request_success - Pipe::log_request_error - TcpSession::log_request - Capture method, authority, path, status and reason in the HttpContext to avoid Kawa elision - Remove get_response_line and get_request_line (use HttpContext instead) - Capture user_agent in HttpContext for potential use in access logs - Remove unneeded metrics.service_stop calls - Remove Pipe::log_ctx in favor of LogContext and log_context() - Add socket_info to get rtt from a socket (for unix and special case for mac) Signed-off-by: Eloi DEMOLIS <[email protected]>
Signed-off-by: Eloi DEMOLIS <[email protected]>
Signed-off-by: Eloi DEMOLIS <[email protected]>
Signed-off-by: Eloi DEMOLIS <[email protected]>
Keksoj
approved these changes
Jun 16, 2023
- Bump Kawa to 0.6.2 - Add 103 support in HTTP State - Add 103 e2e test in http_behaviors
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
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 is the first step in the HTX integration for Sozu. The goal of this branch is to swap the Http parsers and state machines of the Http State with the Htx pipeline. The new State should take an HTTP/1.1 stream in input, convert it into Htx, edit this intermediary form, and convert it back to HTTP/1.1 before forwarding it.
These modifications are shortlived as Htx will only reveal its true potential when the Http State is replaced with a MixedHttp State (mixing H1 and H2 endpoints). This branch proves a point and accelerates the development of the Htx crate by pointing out its flaws. The following issues immediately arise: