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

move client request handler into core::http1::client #47979

Merged
merged 2 commits into from
May 2, 2024

Conversation

jkarneges
Copy link
Member

This moves the HTTP client code from src/connection.rs into a new module next to the new server module. With the new module naming, connection::ClientRequest becomes core::http1::client::Request. Unlike the new server module, this client module is actually used. This PR removes the code from src/connection.rs, adds the new module, and updates all references to refer to the new module. Only very minor changes were made along the way, basically enough to make it work in the new location (renaming types, marking types/fns as pub, wrapping field access with methods, etc).

src/core/http1/util.rs Outdated Show resolved Hide resolved
Copy link
Contributor

@sima-fastly sima-fastly left a comment

Choose a reason for hiding this comment

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

lgtm

@jkarneges jkarneges merged commit ee377cb into main May 2, 2024
4 checks passed
@jkarneges jkarneges deleted the jkarneges/move-clientreq branch May 2, 2024 17:24
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.

None yet

2 participants