Skip to content

Commit bbe062b

Browse files
committed
fix: use connection id from the guard
1 parent a35ec29 commit bbe062b

File tree

1 file changed

+1
-1
lines changed
  • crates/rproxy/src/server/proxy/http

1 file changed

+1
-1
lines changed

crates/rproxy/src/server/proxy/http/proxy.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1517,7 +1517,7 @@ impl ProxyHttpRequestInfo {
15171517

15181518
Self {
15191519
req_id: Uuid::now_v7(),
1520-
conn_id: Uuid::now_v7(),
1520+
conn_id: guard.map_or(Uuid::nil(), |guard| guard.id),
15211521
remote_addr,
15221522
method: req.method().clone(),
15231523
path,

0 commit comments

Comments
 (0)