Skip to content

perf improvement: remove hyper_client::host_port_from_uri#318

Merged
ZhidongPeng merged 4 commits into
Azure:devfrom
ZhidongPeng:host
Feb 18, 2026
Merged

perf improvement: remove hyper_client::host_port_from_uri#318
ZhidongPeng merged 4 commits into
Azure:devfrom
ZhidongPeng:host

Conversation

@ZhidongPeng

Copy link
Copy Markdown
Collaborator

Parse Host & Port from UrI multiple times per each proxied requests - Removed host_port_from_uri(full_url: &Uri) and added struct HostEndpoint with host, port and path_and_query

@ZhidongPeng ZhidongPeng changed the title remove hyper_client::host_port_from_uri to avoid parse Host & Port from UrI multiple times perf improvement: remove hyper_client::host_port_from_uri Feb 10, 2026
Comment thread proxy_agent/src/provision.rs
Comment thread proxy_agent/src/service.rs
Comment thread proxy_agent_shared/src/host_clients/imds_client.rs
Comment thread proxy_agent_shared/src/host_clients/wire_server_client.rs
Comment thread proxy_agent_shared/src/hyper_client.rs Outdated
Comment thread proxy_agent_shared/src/hyper_client.rs Outdated
@ZhidongPeng ZhidongPeng enabled auto-merge (squash) February 18, 2026 19:48
@ZhidongPeng ZhidongPeng merged commit 5fffae6 into Azure:dev Feb 18, 2026
12 checks passed
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