Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
4c77c34
Drop String alloc in is_hop_by_hop_header
KA-ROM Jun 5, 2026
0da8076
Cache in-flight metric handles on ProxyHttp
KA-ROM Jun 5, 2026
bfc08dc
Cache user-agent counter per worker, cap at 100
KA-ROM Jun 5, 2026
69e1189
Bind connection_info() once per request
KA-ROM Jun 5, 2026
4f39ca9
Append headers without per-iter revalidation
KA-ROM Jun 5, 2026
c9a0725
Drop HeaderName::from_str on response forwarding
KA-ROM Jun 5, 2026
9d16040
Set TCP_NODELAY on backend connections
KA-ROM Jun 4, 2026
5274b87
Tighten backend awc disconnect_timeout to 100ms
KA-ROM Jun 5, 2026
f267b6d
Enable TCP_KEEPALIVE on backend connections
KA-ROM Jun 5, 2026
9c77780
Drop HeaderMap clone, capture content-encoding only
KA-ROM Jun 5, 2026
d929376
Defer postprocess_client_request off the critical path
KA-ROM Jun 5, 2026
818595f
Skip postprocess entirely for non-logged, non-mirrored requests
KA-ROM Jun 5, 2026
f86fd2d
Reuse parsed JrpcRequestMetaMaybeBatch in finalise_proxying
KA-ROM Jun 5, 2026
f07cdbc
Drop jrpc reuse in finalise_proxying
KA-ROM Jun 12, 2026
b638e8c
Drop postprocess fast-path
KA-ROM Jun 12, 2026
9b3cab9
Restore insert-then-stream postprocess order
KA-ROM Jun 12, 2026
3341248
Drop disconnect_timeout override
KA-ROM Jun 12, 2026
900bb72
Note UA-label cardinality assumption on client_info_cache
KA-ROM Jun 12, 2026
28a8548
Move actix_service::ServiceExt import to top
KA-ROM Jun 12, 2026
52cac3b
Set TCP_NODELAY on client connections
KA-ROM Jun 12, 2026
36f7fd4
Bundle cached metric handles into ProxyHttpMetrics
KA-ROM Jun 12, 2026
050dcf4
Drop backend TCP_KEEPALIVE
KA-ROM Jun 12, 2026
565a03e
clarify UA cap comment, log backend set_nodelay failure
KA-ROM Jun 12, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions crates/rproxy/src/server/proxy/connection_guard.rs
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,16 @@ impl ConnectionGuard {
);
}

if let Some(stream) = stream &&
let Err(err) = stream.set_nodelay(true)
{
warn!(
proxy = proxy,
error = ?err,
"Failed to set TCP_NODELAY on client connection",
);
}

if let Some(stream) = stream {
let id = Uuid::now_v7();

Expand Down
Loading